SF.net SVN: gar:[23272] csw/mgar/gar/v2/lib/python/package_checks.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Mar 23 15:50:51 CET 2014


Revision: 23272
          http://sourceforge.net/p/gar/code/23272
Author:   wahwah
Date:     2014-03-23 14:50:51 +0000 (Sun, 23 Mar 2014)
Log Message:
-----------
checkpkg: Better error message formatting

The single quotes are not necessary.

Dedicated to lblume.

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

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2014-03-23 14:50:42 UTC (rev 23271)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2014-03-23 14:50:51 UTC (rev 23272)
@@ -1157,8 +1157,8 @@
         link_type = "hardlink"
       error_mgr.NeedFile(
           pkgmap_entry.target,
-          '%s contains %r (a %s) which needs the target file: %r.'
-          % (pkgname, pkgmap_entry.path, link_type, pkgmap_entry.target))
+          '%s contains %s %s which needs the target file: %s'
+          % (pkgname, link_type, pkgmap_entry.path, pkgmap_entry.target))
 
 
 def CheckPrefixDirs(pkg_data, error_mgr, logger, messenger):

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