mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
IGN:Tag release
This commit is contained in:
parent
323c78f9da
commit
87dc869837
2 changed files with 338 additions and 320 deletions
|
|
@ -132,12 +132,15 @@ def upload_to_staging(self, tdir, files):
|
|||
with open(os.path.join(tdir, 'fmap'), 'wb') as fo:
|
||||
for f, desc in files.iteritems():
|
||||
fo.write('%s: %s\n'%(f, desc))
|
||||
try:
|
||||
send_data(tdir)
|
||||
except:
|
||||
print('\nUpload to staging failed, retrying in a minute')
|
||||
time.sleep(60)
|
||||
send_data(tdir)
|
||||
|
||||
while True:
|
||||
try:
|
||||
send_data(tdir)
|
||||
except:
|
||||
print('\nUpload to staging failed, retrying in a minute')
|
||||
time.sleep(60)
|
||||
else:
|
||||
break
|
||||
|
||||
def upload_to_google(self, replace):
|
||||
gdata = get_google_data()
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue