diff --git a/jsvn b/jsvn index a6e2a66..2e9610b 100755 --- a/jsvn +++ b/jsvn @@ -238,7 +238,7 @@ def getSVNBranchList(svn): colist = [] root = getSVNRoot(svn) lines = Popen([svn, 'ls', root + '/branches'], - stdout=PIPE).communicate()[0].split('\n') + stdout=PIPE, stderr=PIPE).communicate()[0].split('\n') for line in lines: if re.match(r'^\s*$', line) is None: colist.append(re.sub(r'/$', '', line)) @@ -248,7 +248,7 @@ def getSVNTagList(svn): colist = [] root = getSVNRoot(svn) lines = Popen([svn, 'ls', root + '/tags'], - stdout=PIPE).communicate()[0].split('\n') + stdout=PIPE, stderr=PIPE).communicate()[0].split('\n') for line in lines: if re.match(r'^\s*$', line) is None: colist.append(re.sub(r'/$', '', line))