Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24625
Modified Files:
item.py
Log Message:
make it possible to access parent data
Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** item.py 23 Feb 2004 19:59:34 -0000 1.72
--- item.py 29 May 2004 12:33:16 -0000 1.73
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.73 2004/05/29 12:33:16 dischi
+ # make it possible to access parent data
+ #
# Revision 1.72 2004/02/23 19:59:34 dischi
# unicode fixes
***************
*** 422,426 ****
return '%d min' % (length / 60)
!
if attr[:4] == 'len(' and attr[-1] == ')':
r = None
--- 425,431 ----
return '%d min' % (length / 60)
! if attr[:7] == 'parent(' and attr[-1] == ')' and self.parent:
! return self.parent[attr[7:-1]]
!
if attr[:4] == 'len(' and attr[-1] == ')':
r = None
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog