Browse files

Collapse two if statements with the same action.

  • Loading branch information...
cbrueffer authored and peterjc committed Dec 5, 2012
1 parent a7db23a commit d1ac77db4a1510a9fbd26ec75d5f40bc00d494ff
Showing with 1 addition and 3 deletions.
  1. +1 −3 Bio/Blast/
@@ -233,9 +233,7 @@ def _scan_header(self, uhandle, consumer):
read_and_call_until(uhandle, consumer.query_info, start='Length=')
while True:
line = uhandle.peekline()
- if not line.strip():
- break
- if "Score E" in line:
+ if not line.strip() or "Score E" in line:
#It is more of the query (and its length)
read_and_call(uhandle, consumer.query_info)

0 comments on commit d1ac77d

Please sign in to comment.