[120954] branches/gsoc14-pip2port/tester.py

gaurav at macports.org gaurav at macports.org
Thu Jun 12 10:48:09 PDT 2014


Revision: 120954
          https://trac.macports.org/changeset/120954
Author:   gaurav at macports.org
Date:     2014-06-12 10:48:09 -0700 (Thu, 12 Jun 2014)
Log Message:
-----------
Added encoding for release_data

Modified Paths:
--------------
    branches/gsoc14-pip2port/tester.py

Modified: branches/gsoc14-pip2port/tester.py
===================================================================
--- branches/gsoc14-pip2port/tester.py	2014-06-12 17:06:57 UTC (rev 120953)
+++ branches/gsoc14-pip2port/tester.py	2014-06-12 17:48:09 UTC (rev 120954)
@@ -44,7 +44,9 @@
         values = client.release_data(pkg_name,pkg_version)
         if values:
             for key in values.keys():
-                print key,'-->',values[key]
+                value = values[key]
+                value = value.encode('utf-8')
+                print key,'-->',value
         else:
             print "No such package found."
             print "Please specify the exact package name."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140612/48a34e40/attachment.html>


More information about the macports-changes mailing list