summaryrefslogtreecommitdiff
path: root/tablib/packages
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-03-23 01:37:33 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-03-23 01:37:33 -0400
commit54ab300d2d2ea21f68133f4ac8bb0cf4ca183c36 (patch)
tree491232d9605d8836e217e8e8f7c0cc91a6f7609b /tablib/packages
parent4368d6431770ffa6a2b6bd375e89dbff1d3a899b (diff)
downloadtablib-54ab300d2d2ea21f68133f4ac8bb0cf4ca183c36.tar.gz
markup changes for 3.x
Diffstat (limited to 'tablib/packages')
-rw-r--r--tablib/packages/markup.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tablib/packages/markup.py b/tablib/packages/markup.py
index 0e1c6a1..1973c00 100644
--- a/tablib/packages/markup.py
+++ b/tablib/packages/markup.py
@@ -156,17 +156,17 @@ class page:
if mode == 'strict_html' or mode == 'html':
self.onetags = valid_onetags
- self.onetags += list(map( string.lower, self.onetags ))
+ self.onetags += list(map( str.lower, self.onetags ))
self.twotags = valid_twotags
- self.twotags += list(map( string.lower, self.twotags ))
+ self.twotags += list(map( str.lower, self.twotags ))
self.deptags = deprecated_onetags + deprecated_twotags
- self.deptags += list(map( string.lower, self.deptags ))
+ self.deptags += list(map( str.lower, self.deptags ))
self.mode = 'strict_html'
elif mode == 'loose_html':
self.onetags = valid_onetags + deprecated_onetags
- self.onetags += list(map( string.lower, self.onetags ))
+ self.onetags += list(map( str.lower, self.onetags ))
self.twotags = valid_twotags + deprecated_twotags
- self.twotags += list(map( string.lower, self.twotags ))
+ self.twotags += list(map( str.lower, self.twotags ))
self.mode = mode
elif mode == 'xml':
if onetags and twotags: