From af460596d32ea8b23a3b304466017dff787de116 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 2 May 2012 20:50:06 +0200 Subject: [PATCH] Add self as an argument to methos in src/dbi.py --- src/dbi.py | 4 ++-- src/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dbi.py b/src/dbi.py index ee19a9104..94dce6355 100644 --- a/src/dbi.py +++ b/src/dbi.py @@ -114,7 +114,7 @@ class DirMapping(MappingInterface): def _makeFilename(self, id): return os.path.join(self.dirname, str(id)) - def get(id): + def get(self, id): try: fd = file(self._makeFilename(id)) return fd.read() @@ -123,7 +123,7 @@ class DirMapping(MappingInterface): exn.realException = e raise exn - def set(id, s): + def set(self, id, s): fd = file(self._makeFilename(id), 'w') fd.write(s) fd.close() diff --git a/src/version.py b/src/version.py index 9ec3d54f4..b9fa52f9e 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2012-05-02T18:48:49+0000)' +version = '0.83.4.1+limnoria (2012-05-02T18:50:06+0000)'