Fix #552 wrong gentoo svn folder for grabbing revision
This commit is contained in:
parent
251b1733ce
commit
a36938729b
2
setup.py
2
setup.py
@ -61,7 +61,7 @@ try:
|
|||||||
break
|
break
|
||||||
# Try to get the SVN revision on Gentoo systems
|
# Try to get the SVN revision on Gentoo systems
|
||||||
if revision_string == "":
|
if revision_string == "":
|
||||||
stdout = os.popen("svn info /usr/portage/distfiles/svn-src/deluge/deluge-0.6")
|
stdout = os.popen("svn info /usr/portage/distfiles/svn-src/deluge/trunk")
|
||||||
for line in stdout:
|
for line in stdout:
|
||||||
if line.split(" ")[0] == "Revision:":
|
if line.split(" ")[0] == "Revision:":
|
||||||
revision_string = line.split(" ")[1].strip()
|
revision_string = line.split(" ")[1].strip()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user