summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-10-29 17:07:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-10-29 17:07:39 +0000
commit95e6a3585504cc939581b044dc220595e2d25dd0 (patch)
tree608305268d52b9e577b3ec7087c099e362e0b3a1 /wscript
parent0ff75dad5cf04ad1c74502a3d7d34ce9bd20e4ae (diff)
put splitlines() back where it belongs
git-svn-id: svn://localhost/ardour2/branches/3.0@7945 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 235fa5aed2..69b531f93b 100644
--- a/wscript
+++ b/wscript
@@ -41,7 +41,7 @@ i18n_children = [
def fetch_svn_revision (path):
cmd = "LANG= svn info " + path + " | awk '/^Revision:/ { print $2}'"
- return subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
+ return subprocess.Popen(cmd, shell=True, stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0].splitlines()
def fetch_gcc_version ():
cmd = "LANG= gcc --version"
@@ -75,7 +75,7 @@ def fetch_bzr_revision (path):
def create_stored_revision():
rev = ""
if os.path.exists('.svn'):
- rev = fetch_svn_revision('.').splitlines()
+ rev = fetch_svn_revision('.');
elif os.path.exists('.git'):
rev = fetch_git_revision('.');
elif os.path.exists('.bzr'):