[csw-devel] SF.net SVN: gar:[13475] csw/mgar/gar/v2/lib/python/pkgdb.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Feb 27 01:35:21 CET 2011


Revision: 13475
          http://gar.svn.sourceforge.net/gar/?rev=13475&view=rev
Author:   wahwah
Date:     2011-02-27 00:35:21 +0000 (Sun, 27 Feb 2011)

Log Message:
-----------
pkgdb: Don't warn during catalog creation

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/pkgdb.py

Modified: csw/mgar/gar/v2/lib/python/pkgdb.py
===================================================================
--- csw/mgar/gar/v2/lib/python/pkgdb.py	2011-02-26 11:26:34 UTC (rev 13474)
+++ csw/mgar/gar/v2/lib/python/pkgdb.py	2011-02-27 00:35:21 UTC (rev 13475)
@@ -537,7 +537,7 @@
       print obj.catalogname, obj.basename, obj.md5_sum
   elif command == 'gen-cat':
     catrel = 'unstable'
-    if options.catrel != catrel:
+    if options.catrel and options.catrel != catrel:
       logging.warn("Generating the %s catalog.", catrel)
     if len(args) != 2:
       raise UsageError("Wrong number of arguments, see usage.")


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list