[Python-checkins] r74419 - sandbox/trunk/release/release.py

benjamin.peterson python-checkins at python.org
Thu Aug 13 17:59:46 CEST 2009


Author: benjamin.peterson
Date: Thu Aug 13 17:59:46 2009
New Revision: 74419

Log:
decode svn info command with utf-8

Modified:
   sandbox/trunk/release/release.py

Modified: sandbox/trunk/release/release.py
==============================================================================
--- sandbox/trunk/release/release.py	(original)
+++ sandbox/trunk/release/release.py	Thu Aug 13 17:59:46 2009
@@ -363,7 +363,7 @@
 
 def get_current_location():
     proc = subprocess.Popen('svn info', shell=True, stdout=subprocess.PIPE)
-    data = proc.stdout.read().splitlines()
+    data = proc.stdout.read().decode("utf-8").splitlines()
     for line in data:
         if line.startswith('URL: '):
             return line.lstrip('URL: ')


More information about the Python-checkins mailing list