Changeset 38 for mergebot/trunk


Ignore:
Timestamp:
Feb 23, 2010 1:13:30 AM (15 years ago)
Author:
retracile
Message:

Mergebot: fix stupid bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mergebot/trunk/mergebot/svn.py

    r36 r38  
    2323
    2424    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()
    2828        return [int(x) for x in version_string.split('.')]
    2929       
Note: See TracChangeset for help on using the changeset viewer.