From 9fd72d479ee4cc35842c4b02aec8a5c19fb59466 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 23 Jan 2019 01:29:16 +0300 Subject: [PATCH] customversion: ditch microseconds --- patches/customversion/addpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/customversion/addpatch.py b/patches/customversion/addpatch.py index 3071723..1614bb8 100644 --- a/patches/customversion/addpatch.py +++ b/patches/customversion/addpatch.py @@ -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(),