forked from pool/rpmlint
Ludwig Nussel
45c7c684cb
OBS-URL: https://build.opensuse.org/request/show/224054 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=247
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
|