Author: duncan
Date: Thu Dec 28 16:07:25 2006
New Revision: 2291
Modified:
trunk/metadata/src/core.py
Log:
Patch from Ryan Roth applied to ignore the url when it does not exist
Modified: trunk/metadata/src/core.py
==============================================================================
--- trunk/metadata/src/core.py (original)
+++ trunk/metadata/src/core.py Thu Dec 28 16:07:25 2006
@@ -149,7 +149,10 @@
def __repr__(self):
- return '<%s %s>' % (str(self.__class__)[8:-2], self.url)
+ if hasattr(self, 'url'):
+ return '<%s %s>' % (str(self.__class__)[8:-2], self.url)
+ else:
+ return '<%s>' % (str(self.__class__)[8:-2])
#
-------------------------------------------------------------------------
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