This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/displayversion.py

13 lines
321 B
Python
Raw Permalink Normal View History

from _init import __version__, __gitrev__
def displayversion():
version_string = ('Quay %s (%s)' % (__version__, __gitrev__.strip())).strip()
print '=' * (len(version_string) + 4)
print '= ' + version_string + ' ='
print '=' * (len(version_string) + 4)
print ""
if __name__ == "__main__":
displayversion()