Skip to content

Commit 84271d3

Browse files
committed
Python 3 preparation: avoid string.lower.
1 parent bcd4c18 commit 84271d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/ZTUtils/Iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def Roman(self, rnvalues=(
8484
s = s + r * rct
8585
return s
8686

87-
def roman(self, lower=string.lower):
87+
def roman(self, lower=lambda x:x.lower):
8888
return lower(self.Roman())
8989

9090
def first(self, name=None):

0 commit comments

Comments
 (0)