Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1367: tg-deepcopy.diff

File tg-deepcopy.diff, 415 bytes (added by cvogler, 5 years ago)

The previous patch had a whitespace problem - this version should now apply cleanly

  • i18n/tg_gettext.py

    diff -ur turbogears.old/i18n/tg_gettext.py turbogears/i18n/tg_gettext.py
    old new  
    109109    def __eq__(self, other): 
    110110        return self.eval() == other 
    111111 
     112    def __deepcopy__(self, memo): 
     113        return self 
     114 
    112115def lazify(func): 
    113116 
    114117    def newfunc(*args, **kw):