diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-09-21 08:21:55 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-09-21 08:21:55 -0400 |
commit | b0d4e6d812630baf2e8b99b597f9cd8141dd040c (patch) | |
tree | e75a0586a7c8f73b54633a7352f497aaa3b358d6 | |
parent | adce778f2fdafdbf2569da846dbd787ed2c589b6 (diff) | |
download | grokmirror-b0d4e6d812630baf2e8b99b597f9cd8141dd040c.tar.gz |
Change the version to 2.0.0
It's time to get some more folks using this. I'm sure they will be
finding more things to fix.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | grokmirror/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grokmirror/__init__.py b/grokmirror/__init__.py index 3189ff6..338640a 100644 --- a/grokmirror/__init__.py +++ b/grokmirror/__init__.py @@ -38,9 +38,9 @@ from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.retry import Retry -VERSION = '2.0-dev' +VERSION = '2.0.0' MANIFEST_LOCKH = None -REPO_LOCKH = {} +REPO_LOCKH = dict() GITBIN = '/usr/bin/git' # default logger. Will be overridden. @@ -815,7 +815,7 @@ def read_manifest(manifile, wait=False): if not os.path.exists(manifile): logger.info(' manifest: no local manifest, assuming initial run') - return {} + return dict() if manifile.find('.gz') > 0: fh = gzip.open(manifile, 'rb') |