1 --- a/awslimitchecker/version.py
2 +++ b/awslimitchecker/version.py
3 @@ -111,32 +106,5 @@ def _get_version_info():
4 :returns: awslimitchecker version
7 - if os.environ.get('VERSIONCHECK_DEBUG', '') != 'true':
8 - for lname in ['versionfinder', 'pip', 'git']:
9 - l = logging.getLogger(lname)
10 - l.setLevel(logging.CRITICAL)
13 - vinfo = find_version('awslimitchecker')
15 - if vinfo.git_is_dirty:
20 - commit = vinfo.git_commit
21 - if commit is not None:
25 - return AWSLimitCheckerVersion(
32 - logger.exception("Error checking installed version; this installation "
33 - "may not be in compliance with the AGPLv3 license:")
34 # fall back to returning just the hard-coded release information
35 return AWSLimitCheckerVersion(_VERSION, _PROJECT_URL)