Browse files

Remove this generator to work on Python 2.3

  • Loading branch information...
1 parent 3d67e89 commit 4c64fb2b00fb1121a42e48bcb53bac5f09841ee3 @rtyler committed Oct 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cheetah/
@@ -58,7 +58,7 @@ def getvalue(self, outputChunks=None):
except UnicodeDecodeError, ex:
logging.debug('Trying to work around a UnicodeDecodeError in getvalue()')
logging.debug('...perhaps you could fix "%s" while you\'re debugging')
- return ''.join((self.safeConvert(c) for c in chunks))
+ return ''.join([self.safeConvert(c) for c in chunks])
def writelines(self, *lines):
## not used

0 comments on commit 4c64fb2

Please sign in to comment.