Ticket #9344: 9344.temporaryfile-tell.diff

File 9344.temporaryfile-tell.diff, 572 bytes (added by Julien Phalip, 16 years ago)
  • django/django/core/files/temp.py

     
    5454        def __iter__(self):             return iter(self.file)
    5555        def readlines(self, size=None): return self.file.readlines(size)
    5656        def xreadlines(self):           return self.file.xreadlines()
     57        def tell(self, *args):           return self.file.tell(*args)
    5758
    5859    NamedTemporaryFile = TemporaryFile
    5960else:
Back to Top