Compare commits
2 commits
88f0a11612
...
4e952c3746
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e952c3746 | |||
| 2e89299eca |
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception2
|
||||
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception
|
||||
|
||||
import ox
|
||||
|
||||
|
|
|
|||
|
|
@ -316,14 +316,14 @@ if __name__ == "__main__":
|
|||
if exists(path):
|
||||
os.chdir(path)
|
||||
current_branch = get_branch(path)
|
||||
revno = get_version(path)
|
||||
if repo == 'pandora':
|
||||
pandora_old_revno = revno
|
||||
current += revno
|
||||
if current_branch != branch:
|
||||
run('git', 'remote', 'set-branches', 'origin', '*')
|
||||
run('git', 'fetch', 'origin')
|
||||
run('git', 'checkout', branch)
|
||||
revno = get_version(path)
|
||||
current += revno
|
||||
url = repos[repo]['url']
|
||||
print('Checking', repo)
|
||||
run('git', 'pull')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue