[Checkins] SVN: zopyx.trashfinder/trunk/zopyx/trashfinder/cli.py fixes
Andreas Jung
andreas at andreas-jung.com
Wed Dec 30 03:02:35 EST 2009
Log message for revision 107352:
fixes
Changed:
U zopyx.trashfinder/trunk/zopyx/trashfinder/cli.py
-=-
Modified: zopyx.trashfinder/trunk/zopyx/trashfinder/cli.py
===================================================================
--- zopyx.trashfinder/trunk/zopyx/trashfinder/cli.py 2009-12-30 07:49:58 UTC (rev 107351)
+++ zopyx.trashfinder/trunk/zopyx/trashfinder/cli.py 2009-12-30 08:02:35 UTC (rev 107352)
@@ -48,9 +48,9 @@
if download_url == 'UNKNOWN':
print 'CRAP: %s==%s - no release files, no valid download_url' % (package, version)
- if metadata['description'] < 40:
+ if len(metadata['description']) < 40:
print 'CRAP: %s==%s - description < 40 chars' % (package, version)
- if metadata['summary'] < 10:
+ if len(metadata['summary']) < 10:
print 'CRAP: %s==%s - summary < 10 chars' % (package, version)
if not metadata['author_email'] and not metadata['maintainer_email']:
print 'CRAP: %s==%s - no author and no maintainer email given' % (package, version)
More information about the checkins
mailing list