diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-01 02:53:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-01 02:53:47 +0300 |
commit | 61bf51acb58f84338d5442141a2352039fa6d5da (patch) | |
tree | a3675b689860bde3ce4fe5d879d4097509742887 /doc/manpage/blender.1.py | |
parent | 78ad368d12d8ff2d8c226353f5097b24afb8851b (diff) |
Cleanup: pep8 for examples
Diffstat (limited to 'doc/manpage/blender.1.py')
-rwxr-xr-x | doc/manpage/blender.1.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |