aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--egg-author.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/egg-author.py b/egg-author.py
index e8d58c1..8155c50 100644
--- a/egg-author.py
+++ b/egg-author.py
@@ -178,8 +178,7 @@ def update_meta(ui, repo):
# reopen and write out the new string
mf = repo.wfile(meta_file, 'w')
mf.write(s)
- mf.flush()
- mf.close
+ mf.close()
# Let the user know the file has been updated (or not, if unchanged)
if len(repo.status(match=matchmod.exact('.', '.', [meta_file]))[0]) == 0: