diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py
index 83adafdeca2559343ceffd7c206748accbe36619..68e8a7f67266ef063fc7be751ad1cdd4a923c3f6 100644
--- a/modules/bindings/pymod/hhblits.py
+++ b/modules/bindings/pymod/hhblits.py
@@ -577,13 +577,17 @@ class HHblits:
         job = subprocess.Popen(addss_cmd, shell=True, cwd=self.working_dir,
                                env=env, stdout=subprocess.PIPE,
                                stderr=subprocess.PIPE)
-        sout, _ = job.communicate()
+        sout, serr = job.communicate()
         lines = sout.splitlines()
         for line in lines:
             if 'error' in line.lower():
                 ost.LogWarning('Predicting secondary structure for MSA '+
                                '(%s) failed, on command: %s' % (a3m_file, line))
             return a3m_file
+            print "BIENCHEN", line
+        lines = serr.splitlines()
+        for line in lines:
+            print "BIENCHEN", line
         return a3m_file
 
     def A3MToProfile(self, a3m_file, hhm_file=None):
diff --git a/modules/bindings/tests/test_hhblits.py b/modules/bindings/tests/test_hhblits.py
index f1d2d404291238aed9fd2492db5dc8ad06808369..c396528b8c623d620e07f7611431760afcfd1725 100644
--- a/modules/bindings/tests/test_hhblits.py
+++ b/modules/bindings/tests/test_hhblits.py
@@ -115,16 +115,6 @@ class TestHHblitsBindings(unittest.TestCase):
                                        'TSKYR')
         self.hh = hhblits.HHblits(query_seq, self.hhroot)
         a3m = self.hh.BuildQueryMSA('testfiles/hhblitsdb/hhblitsdb')
-        print "A3M"
-        with open(a3m) as fh:
-            for line in fh:
-                line = line.strip()
-                print line
-        print "TESTFILE"
-        with open("testfiles/testali.a3m") as fh:
-            for line in fh:
-                line = line.strip()
-                print line
         self.assertTrue(filecmp.cmp(a3m, "testfiles/testali.a3m"))
 
     def testA3mToProfileFileName(self):