Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv930

Modified Files:
        directory.py 
Log Message:
inherit config variables from parent if possible

Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** directory.py        3 Jan 2004 17:39:45 -0000       1.83
--- directory.py        4 Jan 2004 10:24:12 -0000       1.84
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.84  2004/01/04 10:24:12  dischi
+ # inherit config variables from parent if possible
+ #
  # Revision 1.83  2004/01/03 17:39:45  dischi
  # Remove the update function fro the MimetypePlugin and inside DirItem.
***************
*** 167,171 ****
          global all_variables
          for v,n,d in all_variables:
!             setattr(self, v, eval('config.%s' % v))
          self.modified_vars = []
  
--- 170,177 ----
          global all_variables
          for v,n,d in all_variables:
!             if hasattr(parent, v):
!                 setattr(self, v, eval('parent.%s' % v))
!             else:
!                 setattr(self, v, eval('config.%s' % v))
          self.modified_vars = []
  




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to