yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68552
[Bug 1723847] [NEW] duplicate attribute of html_last_updated_fmt in conf file
Public bug reported:
In the file doc/source/conf.py, attribute of html_last_updated_fmt in
conf file is defined twice this make the old version overwrite the new
version. therefor the new added html_last_updated_fmt will not take
effect.
the new version is html_last_updated_fmt = '%Y-%m-%d %H:%M' which is recommanded
the old version is
try:
html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
except Exception:
warnings.warn('Cannot get last updated time from git repository. '
'Not setting "html_last_updated_fmt".')
which is depreciated now.
** Affects: glance
Importance: Undecided
Assignee: junboli (junboli)
Status: New
** Changed in: glance
Assignee: (unassigned) => junboli (junboli)
** Description changed:
- In the file doc/source/conf.py, attribute of html_last_updated_fmt in conf file is defined twice
- this make the old version overwrite the new version. therefor the new added html_last_updated_fmt
- will not take effect.
+ In the file doc/source/conf.py, attribute of html_last_updated_fmt in
+ conf file is defined twice this make the old version overwrite the new
+ version. therefor the new added html_last_updated_fmt will not take
+ effect.
the new version is html_last_updated_fmt = '%Y-%m-%d %H:%M' which is recommanded
- the old version is
+ the old version is
try:
- html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
+ html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
except Exception:
- warnings.warn('Cannot get last updated time from git repository. '
- 'Not setting "html_last_updated_fmt".')
+ warnings.warn('Cannot get last updated time from git repository. '
+ 'Not setting "html_last_updated_fmt".')
which is depreciated now.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1723847
Title:
duplicate attribute of html_last_updated_fmt in conf file
Status in Glance:
New
Bug description:
In the file doc/source/conf.py, attribute of html_last_updated_fmt in
conf file is defined twice this make the old version overwrite the new
version. therefor the new added html_last_updated_fmt will not take
effect.
the new version is html_last_updated_fmt = '%Y-%m-%d %H:%M' which is recommanded
the old version is
try:
html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
except Exception:
warnings.warn('Cannot get last updated time from git repository. '
'Not setting "html_last_updated_fmt".')
which is depreciated now.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1723847/+subscriptions
Follow ups