summarylogtreecommitdiffstats
path: root/python27.patch
diff options
context:
space:
mode:
authorEugene Lamskoy2015-06-09 12:41:53 +0300
committerEugene Lamskoy2015-06-09 12:41:53 +0300
commit7ec6652d57fd14f048d9a6c40873068262dada0b (patch)
treef178bc7418cb05aa9953b4d82115c5a970f36e70 /python27.patch
downloadaur-7ec6652d57fd14f048d9a6c40873068262dada0b.tar.gz
Archey2 initial
Diffstat (limited to 'python27.patch')
-rw-r--r--python27.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/python27.patch b/python27.patch
new file mode 100644
index 000000000000..22464649ab15
--- /dev/null
+++ b/python27.patch
@@ -0,0 +1,19 @@
+--- bin/archey 2012-10-13 01:04:18.000000000 +0300
++++ bin/archey 2012-10-13 01:10:07.008684591 +0300
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ #
+ # Archey [version 0.3.0]
+ #
+@@ -91,8 +91,8 @@
+ \x1b[0m'''
+ }
+
+-processes = str(subprocess.check_output(('ps', '-u', getuser(), '-o', 'comm',
+- '--no-headers')), encoding='utf8').rstrip('\n').split('\n')
++processes = str(subprocess.check_output(('ps', '-u', getuser(), '-o', 'comm',
++ '--no-headers'))).rstrip('\n').split('\n')
+
+ #---------------Classes---------------#
+