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 Normal View History

2019-11-12 16:09:47 +00:00
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()