[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 1/3] Use more Pythonic "".join over str.join



---
 daklib/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 40410fb..0420c68 100755
--- 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:
-- 
1.6.3.3



Reply to: