Skip to content

Commit

Permalink
Remove three apparently unneeded long() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Aug 17, 2010
1 parent e095370 commit e11eb52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bio/Prosite/Prodoc.py
Expand Up @@ -315,7 +315,7 @@ def index_file(filename, indexname, rec2key=None):
end = 0L
for record in records:
start = end
end = long(handle.tell())
end = handle.tell()
length = end - start

if rec2key is not None:
Expand Down
2 changes: 1 addition & 1 deletion Bio/Prosite/__init__.py
Expand Up @@ -730,7 +730,7 @@ def index_file(filename, indexname, rec2key=None):
end = 0L
for record in records:
start = end
end = long(handle.tell())
end = handle.tell()
length = end - start

if rec2key is not None:
Expand Down
2 changes: 1 addition & 1 deletion Bio/SwissProt/SProt.py
Expand Up @@ -1211,7 +1211,7 @@ def index_file(filename, indexname, rec2key=None):
end = 0L
for record in records:
start = end
end = long(handle.tell())
end = handle.tell()
length = end - start

if rec2key is not None:
Expand Down

0 comments on commit e11eb52

Please sign in to comment.