diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-03-09 10:09:26 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-03-09 10:09:26 -0800 |
commit | ac9526150a54ca66ed041376e3081d719f77ce49 (patch) | |
tree | 4fb2f289ad39a1fa2404a68e358aa465b829a671 /util | |
parent | c61b583f62b130c1ed987d71d2d149f30702acc5 (diff) |
Import s3ql_2.9+dfsg.orig.tar.gz
Diffstat (limited to 'util')
-rw-r--r-- | util/cmdline_lexer.py | 1 | ||||
-rw-r--r-- | util/sphinx_pipeinclude.py | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/util/cmdline_lexer.py b/util/cmdline_lexer.py index b2fdda4..d973e4d 100644 --- a/util/cmdline_lexer.py +++ b/util/cmdline_lexer.py @@ -29,4 +29,3 @@ class CommandLineLexer(RegexLexer): ], } - diff --git a/util/sphinx_pipeinclude.py b/util/sphinx_pipeinclude.py index a02ecea..4f9c73b 100644 --- a/util/sphinx_pipeinclude.py +++ b/util/sphinx_pipeinclude.py @@ -29,10 +29,10 @@ class PipeInclude(Include): command = self.arguments[0] command_list = shlex.split(command) - + if command_list[0] == 'python': command_list[0] = sys.executable - + encoding = self.options.get( 'encoding', self.state.document.settings.input_encoding) tab_width = self.options.get( @@ -104,4 +104,3 @@ class PipeInclude(Include): def setup(app): app.add_directive('pipeinclude', PipeInclude) - |