Ticket #10485: temp.py.diff

File temp.py.diff, 721 bytes (added by tzonghao, 16 years ago)
  • django/core/files/temp.py

     
    4949            self.close()
    5050
    5151        def read(self, *args):          return self.file.read(*args)
    52         def seek(self, offset):         return self.file.seek(offset)
     52        def seek(self, *args):          return self.file.seek(*args)
     53        def tell(self):                 return self.file.tell()
    5354        def write(self, s):             return self.file.write(s)
    5455        def __iter__(self):             return iter(self.file)
    5556        def readlines(self, size=None): return self.file.readlines(size)
Back to Top