Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisterH committed Jan 19, 2024
1 parent df2e2a5 commit 216a702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/grassprovider/ext/g_extension_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def convertToHtml(alg, fileName, outputs):
# don't copy this for something that will have lots of data like r.stats
# it will be very slow
with open(fileName, 'r') as f:
outputs['GRASS_ADDONS'] = f.read()
outputs['GRASS_ADDONS'] = f.read()
# this will read the file a second time, but calling it saves us duplicating the code here
alg.convertToHtml(fileName)
2 changes: 1 addition & 1 deletion python/plugins/grassprovider/ext/g_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def convertToHtml(alg, fileName, outputs):
# don't copy this for something that will have lots of data like r.stats
# it will be very slow
with open(fileName, 'r') as f:
outputs['GRASS_VERSIONINFO'] = f.read()
outputs['GRASS_VERSIONINFO'] = f.read()
# this will read the file a second time, but calling it saves us duplicating the code here
alg.convertToHtml(fileName)

0 comments on commit 216a702

Please sign in to comment.