customversion: ditch microseconds

This commit is contained in:
ave 2019-01-23 01:29:16 +03:00
parent 5d02aba5d4
commit 9fd72d479e
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -16,7 +16,7 @@ for arg in range(2, len(sys.argv)):
customtext += " {},".format(sys.argv[arg])
customtext = customtext.strip(",")
timestamp = str(datetime.datetime.utcnow()) + " UTC"
timestamp = str(datetime.datetime.utcnow()).split('.')[0] + " UTC"
customtext += ", built on {}@{} at {}".format(os.getlogin(),
socket.gethostname(),