mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Merge branch 'fix_path' into 'master'
Fix compare of Path objects See merge request fdroid/fdroidserver!1309
This commit is contained in:
commit
56b5b180aa
@ -971,7 +971,7 @@ def getvcs(vcstype, remote, local):
|
|||||||
if vcstype == 'bzr':
|
if vcstype == 'bzr':
|
||||||
return vcs_bzr(remote, local)
|
return vcs_bzr(remote, local)
|
||||||
if vcstype == 'srclib':
|
if vcstype == 'srclib':
|
||||||
if local != os.path.join('build', 'srclib', remote):
|
if local != Path('build', 'srclib', remote):
|
||||||
raise VCSException("Error: srclib paths are hard-coded!")
|
raise VCSException("Error: srclib paths are hard-coded!")
|
||||||
return getsrclib(remote, os.path.join('build', 'srclib'), raw=True)
|
return getsrclib(remote, os.path.join('build', 'srclib'), raw=True)
|
||||||
if vcstype == 'svn':
|
if vcstype == 'svn':
|
||||||
|
Loading…
Reference in New Issue
Block a user