[csw-devel] SF.net SVN: gar:[12224] csw/mgar/gar/v2/lib/python/opencsw.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Thu Jan 6 16:00:01 CET 2011
Revision: 12224
http://gar.svn.sourceforge.net/gar/?rev=12224&view=rev
Author: wahwah
Date: 2011-01-06 15:00:01 +0000 (Thu, 06 Jan 2011)
Log Message:
-----------
checkpkg: Don't stop on a missing package
15:42 <@Dagobert> opencsw.PackageError: Could not find 'README' in
'/home/experimental/dam-submit'
15:42 <@Dagobert> zsh: 8683 exit 1 ~/mgar/gar/v2/bin/submitpkg *
15:42 <@Dagobert> dam at login [login]:/home/experimental/libicu > ls -l
../dam-submit/README
15:42 <@Dagobert> -rw-r--r-- 1 dam csw 111 Jan 6 15:41
../dam-submit/README
15:43 <@Dagobert> IMHO it should print a warning about stuff it can't parse and
ignore it
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/opencsw.py
Modified: csw/mgar/gar/v2/lib/python/opencsw.py
===================================================================
--- csw/mgar/gar/v2/lib/python/opencsw.py 2011-01-06 14:38:52 UTC (rev 12223)
+++ csw/mgar/gar/v2/lib/python/opencsw.py 2011-01-06 15:00:01 UTC (rev 12224)
@@ -306,8 +306,9 @@
if relevant_pkgs:
package_files.append(relevant_pkgs[-1])
if not package_files:
- raise PackageError("Could not find %s in %s"
- % (repr(software), repr(self.dir_path)))
+ logging.warning(
+ "Could not find any %s-* packages in %s",
+ repr(software), repr(self.dir_path))
logging.debug("The latest packages %s in %s are %s",
repr(software),
repr(self.dir_path),
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