Skip to content

Commit

Permalink
Implement changes from pull request #38
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Lennert committed Oct 11, 2019
1 parent d846fae commit 244bf0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grass7/vector/v.class.mlR/v.class.mlR.py
Expand Up @@ -299,7 +299,7 @@ def cleanup():
if r_commands:
gscript.try_remove(r_commands)
if reclass_files:
for reclass_file in reclass_files.itervalues():
for reclass_file in reclass_files.values():
gscript.try_remove(reclass_file)
if temptable:
gscript.run_command('db.droptable',
Expand Down Expand Up @@ -849,7 +849,7 @@ def main():
quiet=True)

if classified_map:
for classification, reclass_file in reclass_files.iteritems():
for classification, reclass_file in reclass_files.items():
output_map = classified_map + '_' + classification
gscript.run_command('r.reclass',
input=raster_segments_map,
Expand Down

0 comments on commit 244bf0d

Please sign in to comment.