Permalink
Browse files

Made it more python2.4 comptabile.

  • Loading branch information...
1 parent eff8071 commit db2927fe5fac4b0868486c7f40ed5ca99c3a46f0 @fidlej committed May 25, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 seeker.py
View
@@ -12,9 +12,10 @@
import random
BLOCKSIZE = 512
+SEEK_END = 2
def _get_size(input):
- input.seek(0, os.SEEK_END)
+ input.seek(0, SEEK_END)
size = input.tell()
if size != 0:
return size

0 comments on commit db2927f

Please sign in to comment.