From: Chris Lamb Date: Tue, 27 Oct 2009 16:28:44 +0000 (+0000) Subject: Use more Pythonic "".join over str.join X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e95cbe39e7ec4991e377a2b364119d9781923d67;p=dak Use more Pythonic "".join over str.join --- diff --git a/daklib/utils.py b/daklib/utils.py index 40410fbb..0420c682 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: