Reducing parameter bloat
Sebastian Spaeth
Sebastian at SSpaeth.de
Fri Sep 16 09:53:23 BST 2011
On Thu, 15 Sep 2011 19:38:51 +0200, Nicolas Sebrecht > > Looks quiet nice. Thanks!
>
> Hmm, it's a bit broken:
>
> global name 'root' is not defined
Mmh, I wonder how I could have missed it. I swear I ran the code before
submitting... In any case, there was a single instance of "root" being
used when I needed to do self.getroot() now.
Interpatch series diff:
offlineimap/folder/LocalStatus.py.__init__(...):
-self.filename = os.path.join(root, self.getfolderbasename())
+self.filename = os.path.join(self.getroot(), self.getfolderbasename())
New patch series coming up.
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110916/d85ebede/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list