pypngtile: use Exception as base class, not BaseException
authorTero Marttila <terom@paivola.fi>
Sun, 14 Sep 2014 17:19:28 +0300
changeset 134 08a0056f6175
parent 133 67f956b71bdf
child 135 e99dd75afa15
pypngtile: use Exception as base class, not BaseException
python/pypngtile.pyx
--- a/python/pypngtile.pyx	Sun Sep 14 16:26:38 2014 +0300
+++ b/python/pypngtile.pyx	Sun Sep 14 17:19:28 2014 +0300
@@ -32,7 +32,7 @@
 CACHE_STALE     = PT_CACHE_STALE
 CACHE_INCOMPAT  = PT_CACHE_INCOMPAT
 
-class Error (BaseException) :
+class Error (Exception) :
     """
         Base class for errors raised by pypngtile.
     """