mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Fix compare of Path objects
This commit is contained in:
parent
deffe7ced3
commit
671d1eba4c
1 changed files with 1 additions and 1 deletions
|
|
@ -971,7 +971,7 @@ def getvcs(vcstype, remote, local):
|
|||
if vcstype == 'bzr':
|
||||
return vcs_bzr(remote, local)
|
||||
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!")
|
||||
return getsrclib(remote, os.path.join('build', 'srclib'), raw=True)
|
||||
if vcstype == 'svn':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue