diff options
-rw-r--r-- | pym/portage/dbapi/vartree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index bec3d6629..9efc47ff9 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3385,8 +3385,8 @@ class dblink(object): counter = self.vartree.dbapi.counter_tick(mycpv=self.mycpv) io.open(_unicode_encode(os.path.join(self.dbtmpdir, 'COUNTER'), encoding=_encodings['fs'], errors='strict'), - 'w', encoding=_encodings['repo.content'], errors='backslashreplace' - ).write(_unicode_decode(str(counter))) + mode='w', encoding=_encodings['repo.content'], + errors='backslashreplace').write(_unicode_decode(str(counter))) self.updateprotect() |