summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-06-24 17:53:54 +0200
committerHelmut Grohne <helmut@subdivi.de>2009-06-24 17:53:54 +0200
commit49cc599de57ffc22c6df23a41e7f0ceceff8a7b6 (patch)
treed54948a4048f183a451c46c86d244c4e502c3ffd /wsgitools
parent53ac558fb037461ae7d5dcdab12102f142e9296b (diff)
downloadwsgitools-49cc599de57ffc22c6df23a41e7f0ceceff8a7b6.tar.gz
except ImportError in filters on imports
Diffstat (limited to 'wsgitools')
-rw-r--r--wsgitools/filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py
index 84b0de7..64038c8 100644
--- a/wsgitools/filters.py
+++ b/wsgitools/filters.py
@@ -12,7 +12,7 @@ import time
import gzip
try:
import io
-except NameError:
+except ImportError:
try:
import cStringIO as io
except ImportError: