put splitlines() back where it belongs
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 29 Oct 2010 17:07:39 +0000 (17:07 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 29 Oct 2010 17:07:39 +0000 (17:07 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7945 d708f5d6-7413-0410-9779-e7cbd77b26cf

wscript

diff --git a/wscript b/wscript
index 235fa5aed241a6fbe65a75af6ef1fead3f76c6c1..69b531f93bcb80268591d5507eabbc2bf214a020 100644 (file)
--- 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'):