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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Dec 15 09:46:03 CET 2010


Revision: 11953
          http://gar.svn.sourceforge.net/gar/?rev=11953&view=rev
Author:   wahwah
Date:     2010-12-15 08:46:03 +0000 (Wed, 15 Dec 2010)

Log Message:
-----------
checkpkg: Quote unknown architecture name

This way it stands out more in the error message.

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

Modified: csw/mgar/gar/v2/lib/python/sharedlib_utils.py
===================================================================
--- csw/mgar/gar/v2/lib/python/sharedlib_utils.py	2010-12-15 08:45:27 UTC (rev 11952)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils.py	2010-12-15 08:46:03 UTC (rev 11953)
@@ -266,7 +266,7 @@
       return common_constants.ARCH_ALL
     else:
       raise ArchitectureError(
-          "Cannot map architecture %s to a constant." % s)
+          "Cannot map architecture %s to a constant." % repr(s))
 
 
 def GetIsalist(str_arch):


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