diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-05-07 06:54:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-05-07 06:54:59 +0000 |
commit | 085daa6d1715e8b09a8a7da5f813bfc5cd8ae692 (patch) | |
tree | 66b5ca6ef9e1c60f1ffbfbe898c8a2998a29b02f | |
parent | 5caaa7cc88d20b02574d8cb486ea999dacfdc116 (diff) | |
download | portage-085daa6d1715e8b09a8a7da5f813bfc5cd8ae692.tar.gz portage-085daa6d1715e8b09a8a7da5f813bfc5cd8ae692.tar.bz2 portage-085daa6d1715e8b09a8a7da5f813bfc5cd8ae692.zip |
Replace inappropriate use of writelines with normal write.
svn path=/main/trunk/; revision=3327
-rw-r--r-- | pym/cache/flat_hash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/flat_hash.py b/pym/cache/flat_hash.py index 8ebd70f7d..dfa7ad0c7 100644 --- a/pym/cache/flat_hash.py +++ b/pym/cache/flat_hash.py @@ -82,7 +82,7 @@ class database(fs_template.FsBased): for k, v in values.items(): if k != "_mtime_" and (k == "_eclasses_" or k in self._known_keys): - myf.writelines("%s=%s\n" % (k, v)) + myf.write("%s=%s\n" % (k, v)) myf.close() self._ensure_access(fp, mtime=values["_mtime_"]) |