bugfix: use correct close calls
This commit is contained in:
parent
c1ad96e5cf
commit
1ccfeafa76
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class GalaxyCLI(CLI):
|
||||||
readme_path = os.path.join(role_path, "README.md")
|
readme_path = os.path.join(role_path, "README.md")
|
||||||
f = open(readme_path, "wb")
|
f = open(readme_path, "wb")
|
||||||
f.write(self.galaxy.default_readme)
|
f.write(self.galaxy.default_readme)
|
||||||
f.close
|
f.close()
|
||||||
|
|
||||||
for dir in GalaxyRole.ROLE_DIRS:
|
for dir in GalaxyRole.ROLE_DIRS:
|
||||||
dir_path = os.path.join(init_path, role_name, dir)
|
dir_path = os.path.join(init_path, role_name, dir)
|
||||||
|
|
Loading…
Reference in a new issue