projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33da72f
)
Use more Pythonic "".join over str.join
author
Chris Lamb
<lamby@debian.org>
Tue, 27 Oct 2009 16:28:44 +0000
(16:28 +0000)
committer
Chris Lamb
<lamby@debian.org>
Tue, 27 Oct 2009 16:28:44 +0000
(16:28 +0000)
daklib/utils.py
patch
|
blob
|
history
diff --git
a/daklib/utils.py
b/daklib/utils.py
index 40410fbb0c8583dca03ce139c3006dddcfcce836..0420c68247164f2bfea2fa1aac41ce276c1f7b38 100755
(executable)
--- a/
daklib/utils.py
+++ b/
daklib/utils.py
@@
-69,7
+69,7
@@
def dak_getstatusoutput(cmd):
pipe = subprocess.Popen(cmd, shell=True, universal_newlines=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
- output =
str.join("",
pipe.stdout.readlines())
+ output =
"".join(
pipe.stdout.readlines())
ret = pipe.wait()
if ret is None: