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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat May 4 12:26:45 CEST 2013


Revision: 20984
          http://gar.svn.sourceforge.net/gar/?rev=20984&view=rev
Author:   chninkel
Date:     2013-05-04 10:26:44 +0000 (Sat, 04 May 2013)
Log Message:
-----------
really fix the mistake and stop drinking too much

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

Modified: csw/mgar/gar/v2/lib/python/package.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package.py	2013-05-04 10:06:14 UTC (rev 20983)
+++ csw/mgar/gar/v2/lib/python/package.py	2013-05-04 10:26:44 UTC (rev 20984)
@@ -125,8 +125,8 @@
     if not self.pkgname:
       gunzipped_path = self.GetGunzippedPath()
       args = ["nawk", "NR == 2 {print $1; exit;}", gunzipped_path]
-      shell.ShellCommand(args)
-      retcode, stdout, stderr = self.pkgname = stdout.strip()
+      retcode, stdout, stderr = shell.ShellCommand(args)
+      self.pkgname = stdout.strip()
       logging.debug("GetPkgname(): %s", repr(self.pkgname))
     return self.pkgname
 

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