From e95cbe39e7ec4991e377a2b364119d9781923d67 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 16:28:44 +0000 Subject: [PATCH] Use more Pythonic "".join over str.join --- daklib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5