Commit bfd8fc74 authored by Hoek, Steven's avatar Hoek, Steven
Browse files

Indentation error corrected

parent 7e8cf837
......@@ -40,11 +40,11 @@ The classes found in the formats subdirectory more or less have the same interfa
raise Exception('Cannot open file %s' % fn)
else:
for i in range(myraster.nrows):
line = myraster.next()
for k in range(myraster.ncols):
if line[k] == 42:
print('Found!')
break
line = myraster.next()
for k in range(myraster.ncols):
if line[k] == 42:
print('Found!')
break
finally:
if myraster is not None:
myraster.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment