From fe14843ab1b1aff52b254432697dff319a509218 Mon Sep 17 00:00:00 2001 From: Ivan Kalev Date: Wed, 9 Oct 2013 19:34:38 +0200 Subject: [PATCH] Fix: HHfrag --- compilation error on python 3 (issue #28) --- csb/apps/hhfrag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csb/apps/hhfrag.py b/csb/apps/hhfrag.py index b79bf4d..51e0b86 100644 --- a/csb/apps/hhfrag.py +++ b/csb/apps/hhfrag.py @@ -463,7 +463,7 @@ def logger(ri): except IOError as io: raise ArgumentIOError(str(io)) - except csb.bio.io.wwpdb.StructureNotFoundError, sne: + except csb.bio.io.wwpdb.StructureNotFoundError as sne: msg = "{0} is not a PDBS25-derived fragset (template {1} not found)" raise ArgumentIOError(msg.format(fragfile, str(sne)))