diff options
author | Muriithi Frederick Muriuki | 2018-03-22 06:28:01 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2018-03-22 06:28:01 +0300 |
commit | cfce6d80be4fb38573c37d1943db2687d54cf2fc (patch) | |
tree | 2540e7c6da047a42bfc37b29debf4b585c5422ca /wqflask/utility | |
parent | 4c2ce5580a0891d89fc35c48da06d25fb4c8df76 (diff) | |
download | genenetwork2-cfce6d80be4fb38573c37d1943db2687d54cf2fc.tar.gz |
Change raise statement
* Change the raise statement to use an Exception object rather than
using a string for compatibility with Python3.
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/svg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/svg.py b/wqflask/utility/svg.py index 512bc9e6..db13b9d1 100644 --- a/wqflask/utility/svg.py +++ b/wqflask/utility/svg.py @@ -1029,7 +1029,7 @@ class drawing: try: xv.feed(svg) except: - raise "SVG is not well formed, see messages above" + raise Exception("SVG is not well formed, see messages above") else: print "SVG well formed" if __name__=='__main__': |