[Pkg-privacy-commits] [torbrowser-launcher] 61/476: using subprocess.Popen instead of subprocess.check_output, to be compatible with older python that comes with debian wheezy
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository torbrowser-launcher.
commit c13b21c7003a66c44e91d07eb966766605cd7899
Author: Micah Lee <micahflee at riseup.net>
Date: Tue Feb 19 22:59:34 2013 -0800
using subprocess.Popen instead of subprocess.check_output, to be compatible with older python that comes with debian wheezy
---
torbrowser-launcher | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/torbrowser-launcher b/torbrowser-launcher
index 0dbfb40..a178be6 100755
--- a/torbrowser-launcher
+++ b/torbrowser-launcher
@@ -58,7 +58,7 @@ class TorBrowserLauncher:
# discover the architecture and language
def discover_arch_lang(self):
# figure out the architecture
- self.architecture = subprocess.check_output(['arch']).strip('\n')
+ self.architecture = subprocess.Popen(['arch'], stdout=subprocess.PIPE, stderr=None).stdout.read().strip('\n')
# figure out the language
available_languages = ['en-US', 'ar', 'de', 'es-ES', 'fa', 'fr', 'it', 'ko', 'nl', 'pl', 'pt-PT', 'ru', 'vi', 'zh-CN']
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list