summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbr/builddoc.py5
-rw-r--r--pbr/hooks/commands.py1
-rw-r--r--pbr/packaging.py2
3 files changed, 0 insertions, 8 deletions
diff --git a/pbr/builddoc.py b/pbr/builddoc.py
index cd522c6..343f7c3 100644
--- a/pbr/builddoc.py
+++ b/pbr/builddoc.py
@@ -223,8 +223,3 @@ class LocalBuildDoc(setup_command.BuildDoc):
# handle Sphinx < 1.5.0
if not hasattr(self, 'warning_is_error'):
self.warning_is_error = False
-
-
-class LocalBuildLatex(LocalBuildDoc):
- builders = ['latex']
- command_name = 'build_sphinx_latex'
diff --git a/pbr/hooks/commands.py b/pbr/hooks/commands.py
index d9b56b5..aa4db70 100644
--- a/pbr/hooks/commands.py
+++ b/pbr/hooks/commands.py
@@ -49,7 +49,6 @@ class CommandsConfig(base.BaseConfig):
if packaging.have_sphinx():
self.add_command('pbr.builddoc.LocalBuildDoc')
- self.add_command('pbr.builddoc.LocalBuildLatex')
if os.path.exists('.testr.conf') and packaging.have_testr():
# There is a .testr.conf file. We want to use it.
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 484cd24..a3527c9 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -536,11 +536,9 @@ try:
# Import the symbols from their new home so the package API stays
# compatible.
LocalBuildDoc = builddoc.LocalBuildDoc
- LocalBuildLatex = builddoc.LocalBuildLatex
except ImportError:
_have_sphinx = False
LocalBuildDoc = None
- LocalBuildLatex = None
def have_sphinx():