diff roundup/cgi/accept_language.py @ 4362:74476eaac38a

more modernisation
author Richard Jones <richard@users.sourceforge.net>
date Fri, 26 Feb 2010 00:38:53 +0000
parents 52f89836d05b
children b00cd44fea16
line wrap: on
line diff
--- a/roundup/cgi/accept_language.py	Tue Feb 23 22:54:59 2010 +0000
+++ b/roundup/cgi/accept_language.py	Fri Feb 26 00:38:53 2010 +0000
@@ -35,7 +35,7 @@
 # both
 lre   = re.compile(nqlre + "|" + qlre)
 
-ascii = ''.join([chr(x) for x in xrange(256)])
+ascii = ''.join([chr(x) for x in range(256)])
 whitespace = ' \t\n\r\v\f'
 
 def parse(language_header):

Roundup Issue Tracker: http://roundup-tracker.org/