lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sim...@apache.org
Subject svn commit: r1468841 - /lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py
Date Wed, 17 Apr 2013 11:19:25 GMT
Author: simonw
Date: Wed Apr 17 11:19:25 2013
New Revision: 1468841

URL: http://svn.apache.org/r1468841
Log:
read() returns a str which is already UTF-8 and doesn't have a decode method anymore

Modified:
    lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py

Modified: lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py?rev=1468841&r1=1468840&r2=1468841&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/buildAndPushRelease.py Wed Apr 17 11:19:25 2013
@@ -115,7 +115,7 @@ def prepare(root, version, gpgKeyID, doT
 def push(version, root, rev, rcNum, username):
   print('Push...')
   dir = 'lucene-solr-%s-RC%d-rev%s' % (version, rcNum, rev)
-  s = os.popen('ssh %s@people.apache.org "ls -ld public_html/staging_area/%s" 2>&1'
% (username, dir)).read().decode('UTF-8')
+  s = os.popen('ssh %s@people.apache.org "ls -ld public_html/staging_area/%s" 2>&1'
% (username, dir)).read()
   if 'no such file or directory' not in s.lower():
     print('  Remove old dir...')
     run('ssh %s@people.apache.org "chmod -R u+rwX public_html/staging_area/%s; rm -rf public_html/staging_area/%s"'
% 



Mime
View raw message