Skip to content

Commit

Permalink
version bump. document flush
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Aug 3, 2018
1 parent b8c6800 commit 4ec90db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/gam.py
Original file line number Diff line number Diff line change
Expand Up @@ -7618,7 +7618,9 @@ def doDownloadVaultExport():
status, done = downloader.next_chunk()
sys.stdout.write(u' Downloaded: {0:>7.2%}\r'.format(status.progress()))
sys.stdout.flush()
sys.stdout.write(u'\n Download complete\n')
sys.stdout.write(u'\n Download complete. Flushing to disk...\n')
# Necessary to make sure file is flushed by both Python and OS
# https://stackoverflow.com/a/13762137/1503886
f.flush()
os.fsync(f.fileno())
closeFile(f)
Expand Down
2 changes: 1 addition & 1 deletion src/var.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re

gam_author = u'Jay Lee <jay0lee@gmail.com>'
gam_version = u'4.50'
gam_version = u'4.60'
gam_license = u'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'

GAM_URL = u'https://git.io/gam'
Expand Down

0 comments on commit 4ec90db

Please sign in to comment.