Эх сурвалжийг харах

[core] Make coerce_password_from_script compatible with Python 2.6

Romain Rigaux 10 жил өмнө
parent
commit
248ab12

+ 1 - 2
desktop/core/src/desktop/conf.py

@@ -57,8 +57,7 @@ def coerce_password_from_script(script):
   stdout, stderr = p.communicate()
 
   if p.returncode != 0:
-    raise subprocess.CalledProcessError(p.returncode, script,
-      output='stdout: %s\nstderr: %s' % (stdout, stderr))
+    raise subprocess.CalledProcessError(p.returncode, script)
 
   # whitespace may be significant in the password, but most files have a
   # trailing newline.