utils.py: fix typo in annotateException
authorreplabrobin
Thu, 26 Sep 2013 10:47:38 +0000
changeset 3773 dc1ef08c7277
parent 3772 493fae3253ba
child 3774 ac441fbfeb92
utils.py: fix typo in annotateException
src/reportlab/lib/utils.py
--- a/src/reportlab/lib/utils.py	Thu Sep 26 10:46:34 2013 +0000
+++ b/src/reportlab/lib/utils.py	Thu Sep 26 10:47:38 2013 +0000
@@ -1118,7 +1118,7 @@
 
 def annotateException(msg,enc='utf8'):
     '''add msg to the args of an existing exception'''
-    if not msg: rise
+    if not msg: raise
     t,v,b=sys.exc_info()
     if not hasattr(v,'args'): raise
     e = -1