File: do-not-call-execfile.patch

package info (click to toggle)
python-ceilometerclient 2.9.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 752 kB
  • sloc: python: 7,831; sh: 42; makefile: 27
file content (23 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Do not call execfile in conf.py
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2019-09-02

--- python-ceilometerclient-2.9.0.orig/doc/source/conf.py
+++ python-ceilometerclient-2.9.0/doc/source/conf.py
@@ -11,15 +11,9 @@
 # under the License.
 
 import os
-execfile(os.path.join("..", "ext", "gen_ref.py"))
 
 project = 'python-ceilometerclient'
 
-gen_ref("", "Client Reference", ["client", "exc"])
-gen_ref("v2", "Version 2 API Reference",
-        ["meters", "samples", "statistics", "resources", "query", "alarms",
-         "events", "event_types", "traits", "trait_descriptions"])
-
 # -- General configuration ----------------------------------------------------
 
 # Add any Sphinx extension module names here, as strings. They can be