python-pbr/pbr-0.10.8-fix-sphinx-init_values.patch
Denisart Benjamin f332894a2a Accepting request 297159 from home:frispete:python
- update to version 0.10.8
  - 0.10.8
    * Support script text override for newer develop
  - 0.10.7
    * _get_revno only returns a commit count
  - 0.10.6
    * Integration test PBR commits
  - 0.10.5
    * Move write_pbr_json to avoid issues with nose
  - 0.10.4
    * Properly check for git before getting git dir
    * Use post version signifiers
    * Only import sphinx during hook processing
  - 0.10.3
    * Stop including git sha in version strings
    * Write and read more complex git sha info
  - 0.10.2
    * Remove all 2.7 filtering
    * Stop filtering out argparse
    * Remove mirror testing from the integration script
  - 0.10.1
    * Prefix git suffixes with + instead of 
- fix Sphinx config.init_values fallout
- add update-alternatives
- remove outdated patches
- put docs in its own package

OBS-URL: https://build.opensuse.org/request/show/297159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=24
2015-04-18 10:39:41 +00:00

14 lines
556 B
Diff

Index: b/pbr/builddoc.py
===================================================================
--- a/pbr/builddoc.py
+++ b/pbr/builddoc.py
@@ -123,7 +123,7 @@ class LocalBuildDoc(setup_command.BuildD
if self.today:
confoverrides['today'] = self.today
sphinx_config = config.Config(self.config_dir, 'conf.py', {}, [])
- sphinx_config.init_values()
+ sphinx_config.init_values(log.info)
if self.builder == 'man' and len(sphinx_config.man_pages) == 0:
return
app = application.Sphinx(