Changeset 38 for mergebot/trunk
- Timestamp:
- Feb 23, 2010 1:13:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mergebot/trunk/mergebot/svn.py
r36 r38 23 23 24 24 def get_svn_version(self): 25 svn = subprocess.Popen(['svn', '--version', '--quiet'], stdout=subprocess.PIPE)26 svn.stdin.close()27 version_string, _stderr = svn. stdout.communicate()25 svn = subprocess.Popen(['svn', '--version', '--quiet'], 26 stdout=subprocess.PIPE, stderr=subprocess.PIPE) 27 version_string, _stderr = svn.communicate() 28 28 return [int(x) for x in version_string.split('.')] 29 29
Note: See TracChangeset
for help on using the changeset viewer.