summaryrefslogtreecommitdiff
path: root/wsgitools/applications.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-03-29 17:42:48 +0200
committerHelmut Grohne <helmut@subdivi.de>2009-03-29 17:42:48 +0200
commit5c0a3965cdb9cac87d0b0ea773a6276c73a27ba6 (patch)
tree56619fbd0631ae08e01adca15e2994c689dfe8b4 /wsgitools/applications.py
parentac99754f5e68f3731b7bdd7c8070c58346983bf4 (diff)
downloadwsgitools-5c0a3965cdb9cac87d0b0ea773a6276c73a27ba6.tar.gz
quite some changes for py3
These changes introduce some compatibility code. They don't make wsgitools usable with Python 3.0, but they also don't break compatibility with Python 2.5.
Diffstat (limited to 'wsgitools/applications.py')
-rw-r--r--wsgitools/applications.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wsgitools/applications.py b/wsgitools/applications.py
index f90e395..286ab9b 100644
--- a/wsgitools/applications.py
+++ b/wsgitools/applications.py
@@ -2,6 +2,11 @@ import os.path
__all__ = []
+try:
+ basestring
+except NameError:
+ basestring = str
+
__all__.append("StaticContent")
class StaticContent:
"""