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
2019-11-12 11:09:47 -05:00

12 lines
321 B
Python

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()