1.1 --- a/iixr/files.py Fri Jan 08 00:44:59 2010 +0100
1.2 +++ b/iixr/files.py Sun Jan 10 20:47:41 2010 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Generic file access.
1.6
1.7 -Copyright (C) 2009 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2009, 2010 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -38,6 +38,10 @@
1.13
1.14 pass
1.15
1.16 + def seek(self, offset):
1.17 + self.f.seek(offset)
1.18 + self.reset()
1.19 +
1.20 def rewind(self):
1.21 self.f.seek(0)
1.22 self.reset()