Skip to content

Commit

Permalink
apply python-modernize (conservatively) [1]
Browse files Browse the repository at this point in the history
  • Loading branch information
borellim committed Apr 16, 2019
1 parent 4fe62db commit d72a58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiida_quantumespresso/tools/cp_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def import_table(fname):

data = []

while 1:
while True:

## Buffer read
lines = f.readlines(1000)
Expand All @@ -398,7 +398,7 @@ def import_array(fname, mul=1.0):
pos_all = []
pos_this = []

while 1:
while True:

## Buffer read
lines = f.readlines(1000)
Expand Down

0 comments on commit d72a58f

Please sign in to comment.