forked from pool/rpmlint
14 lines
492 B
Diff
14 lines
492 B
Diff
|
Index: rpmlint-1.5/Pkg.py
|
||
|
===================================================================
|
||
|
--- rpmlint-1.5.orig/Pkg.py
|
||
|
+++ rpmlint-1.5/Pkg.py
|
||
|
@@ -85,7 +85,7 @@ def getstatusoutput(cmd, stdoutonly = Fa
|
||
|
stdout=subprocess.PIPE,
|
||
|
stderr=subprocess.STDOUT, close_fds=True)
|
||
|
proc.stdin.close()
|
||
|
- text = proc.stdout.read().decode()
|
||
|
+ text = proc.stdout.read()
|
||
|
sts = proc.wait()
|
||
|
if sts is None:
|
||
|
sts = 0
|