mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Automated merge with https://bitbucket.org/carljm/pip/
This commit is contained in:
commit
5c0d9fa07a
4
pip.py
4
pip.py
|
@ -2669,7 +2669,7 @@ class Subversion(VersionControl):
|
||||||
data = f.read()
|
data = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if data.startswith('8') or data.startswith('9'):
|
if data.startswith('8') or data.startswith('9') or data.startswith('10'):
|
||||||
data = map(str.splitlines,data.split('\n\x0c\n'))
|
data = map(str.splitlines,data.split('\n\x0c\n'))
|
||||||
del data[0][0] # get rid of the '8'
|
del data[0][0] # get rid of the '8'
|
||||||
dirurl = data[0][3]
|
dirurl = data[0][3]
|
||||||
|
@ -2712,7 +2712,7 @@ class Subversion(VersionControl):
|
||||||
f = open(os.path.join(location, '.svn', 'entries'))
|
f = open(os.path.join(location, '.svn', 'entries'))
|
||||||
data = f.read()
|
data = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
if data.startswith('8') or data.startswith('9'):
|
if data.startswith('8') or data.startswith('9') or data.startswith('10'):
|
||||||
data = map(str.splitlines,data.split('\n\x0c\n'))
|
data = map(str.splitlines,data.split('\n\x0c\n'))
|
||||||
del data[0][0] # get rid of the '8'
|
del data[0][0] # get rid of the '8'
|
||||||
return data[0][3]
|
return data[0][3]
|
||||||
|
|
Loading…
Reference in a new issue