Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made it more python2.4 comptabile.

  • Loading branch information...
commit db2927fe5fac4b0868486c7f40ed5ca99c3a46f0 1 parent eff8071
@fidlej authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  seeker.py
View
3  seeker.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.