Compare commits

..

No commits in common. "4e952c37461b3bf0e0f0951270596bcfea511fe7" and "88f0a11612e83a004706dfe69acedcdd91a0e056" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception2
import ox

View file

@ -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')