Author: dmeyer
Date: Fri Sep 22 19:11:56 2006
New Revision: 1896

Modified:
   trunk/metadata/src/misc/dirinfo.py

Log:
read name and comment from .directory file

Modified: trunk/metadata/src/misc/dirinfo.py
==============================================================================
--- trunk/metadata/src/misc/dirinfo.py  (original)
+++ trunk/metadata/src/misc/dirinfo.py  Fri Sep 22 19:11:56 2006
@@ -78,6 +78,10 @@
                 if self.image.startswith('./'):
                     self.image = self.image[2:]
                 self.keys.append('image')
+            if l.startswith('Name='):
+                self.title = l[5:].strip()
+            if l.startswith('Comment='):
+                self.comment = l[8:].strip()
         f.close()
 
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to