From 61bf51acb58f84338d5442141a2352039fa6d5da Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Nov 2019 10:53:47 +1100 Subject: Cleanup: pep8 for examples --- doc/manpage/blender.1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/manpage/blender.1.py') diff --git a/doc/manpage/blender.1.py b/doc/manpage/blender.1.py index fc2200ab859..da83abe8442 100755 --- a/doc/manpage/blender.1.py +++ b/doc/manpage/blender.1.py @@ -62,7 +62,7 @@ if blender_date is None: # Happens when built without WITH_BUILD_INFO e.g. date_string = time.strftime("%B %d, %Y", time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))) else: - blender_date = blender_date.strip().partition(" ")[2] # remove 'date:' prefix + blender_date = blender_date.strip().partition(" ")[2] # remove 'date:' prefix date_string = time.strftime("%B %d, %Y", time.strptime(blender_date, "%Y-%m-%d")) outfile = open(outfilename, "w") -- cgit v1.2.3