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 ...@@ -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) raise Exception('Cannot open file %s' % fn)
else: else:
for i in range(myraster.nrows): for i in range(myraster.nrows):
line = myraster.next() line = myraster.next()
for k in range(myraster.ncols): for k in range(myraster.ncols):
if line[k] == 42: if line[k] == 42:
print('Found!') print('Found!')
break break
finally: finally:
if myraster is not None: if myraster is not None:
myraster.close() 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