diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-11 09:02:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-11 09:02:00 +0300 |
commit | d3cb1d845b347524bcadff2f5e481b7aec95f3af (patch) | |
tree | 32da2315af292456dc4dfad456bdc6ee502371c2 /doc/manpage | |
parent | 1241e9170711acfa0fbf99d5289b0241f6db1c23 (diff) |
Fix error extracting date in manpage generator
Error from recent cleanup 0e3bc2e3210dae253dc6fee47fcec4ce2502887a
Diffstat (limited to 'doc/manpage')
-rwxr-xr-x | doc/manpage/blender.1.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/manpage/blender.1.py b/doc/manpage/blender.1.py index 381516a5752..950a2119f91 100755 --- a/doc/manpage/blender.1.py +++ b/doc/manpage/blender.1.py @@ -87,7 +87,6 @@ def blender_extract_info(blender_bin: str) -> Dict[str, str]: # 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. date_string = time.strftime("%B %d, %Y", time.strptime(blender_date, "%Y-%m-%d")) return { |