Skip to content

Commit

Permalink
close the qgsexpression_texts.cpp file generated by resources/process…
Browse files Browse the repository at this point in the history
…_function_template.py
  • Loading branch information
slarosa committed Sep 29, 2015
1 parent 7c21958 commit 3691993
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/process_function_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ def quote(v):
n, content.read().replace("\\", "\").replace('\\', '\\\\').replace('"', '\\"').replace('\n', '\\n')))

cpp.write("\n}")
cpp.close()

3 comments on commit 3691993

@jef-n
Copy link
Member

@jef-n jef-n commented on 3691993 Sep 29, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for good measure or did this actually cause a problem?

@slarosa
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it is good practice to close the file although that did not cause a problem.

@jef-n
Copy link
Member

@jef-n jef-n commented on 3691993 Sep 29, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, just what I thought. But I saw a remote chance that this may have a part in dakcarto's build problem on OSX.

Please sign in to comment.