Skip to content

Commit

Permalink
Merge pull request #1478 from OpenConceptConsulting/fix/setup-package…
Browse files Browse the repository at this point in the history
…-memleak

Fix memory leak in default shinken file generation
  • Loading branch information
naparuba committed Jan 29, 2015
2 parents 025964a + 7bd148a commit a9b22b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuppackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def generate_default_shinken_file(self):
# Read the template file
f = open(templatefile)
buf = f.read()
f.close
f.close()
# substitute
buf = buf.replace("$ETC$", self.etc_path)
buf = buf.replace("$VAR$", self.var_path)
Expand Down

0 comments on commit a9b22b1

Please sign in to comment.