]> git.decadent.org.uk Git - dak.git/commitdiff
Use more Pythonic "".join over str.join
authorChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 16:28:44 +0000 (16:28 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 16:28:44 +0000 (16:28 +0000)
daklib/utils.py

index 40410fbb0c8583dca03ce139c3006dddcfcce836..0420c68247164f2bfea2fa1aac41ce276c1f7b38 100755 (executable)
@@ -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: