[poppler] regtest/backends

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Thu Dec 3 07:24:21 PST 2015


 regtest/backends/text.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 921fe21d56be27c8164111577b9a848525b35508
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Thu Dec 3 16:23:30 2015 +0100

    regtest: Fix testing text backend
    
    Fix a typo in previous commit.

diff --git a/regtest/backends/text.py b/regtest/backends/text.py
index 598aab8..8aa59fa 100644
--- a/regtest/backends/text.py
+++ b/regtest/backends/text.py
@@ -31,7 +31,7 @@ class Text(Backend):
         cmd = [self._pdftotext, doc_path, out_path + '.txt']
         if password is not None:
             cmd.extend(['-opw', password])
-        p = subprocess.Popen([cmd, stderr = subprocess.PIPE)
+        p = subprocess.Popen(cmd, stderr = subprocess.PIPE)
         return self._check_exit_status(p, out_path)
 
     def _create_diff(self, ref_path, result_path):


More information about the poppler mailing list