Skip to content

Commit 0576dda

Browse files
committed
Fixed a regression to due the change to the VERSION variable
Updated copyright note on wiki
1 parent 4c935bb commit 0576dda

File tree

2 files changed

+3
-3
lines changed
  • addons/source-python
    • docs/source-python/source
    • packages/source-python/core/command

2 files changed

+3
-3
lines changed

addons/source-python/docs/source-python/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
# General information about the project.
5555
project = ' Source.Python'
56-
copyright = '2015, Source.Python Development Team'
56+
copyright = '2018, Source.Python Development Team'
5757
author = ' Source.Python Development Team'
5858

5959
# The version info for the project you're documenting, acts as replacement for

addons/source-python/packages/source-python/core/command/docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from core.command import core_command
1919
from core.command import core_command_logger
2020
from core.version import VERSION
21+
from core.version import is_unversioned
2122
# Paths
2223
from paths import SP_DATA_PATH
2324
from paths import SP_DOCS_PATH
@@ -305,8 +306,7 @@ def _build_source_python_docs():
305306
lines = f.readlines()
306307

307308
# Get the version string
308-
version = VERSION if VERSION == 'unversioned' else (
309-
'v{0}'.format(VERSION))
309+
version = '' if is_unversioned() else f'v{VERSION}'
310310

311311
with conf_file.open('w') as f:
312312
for line in lines:

0 commit comments

Comments
 (0)