summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-26 10:21:28 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-26 10:21:28 (GMT)
commitc68a8b1248a5ef4317c403a5062ee4961b2a85ab (patch)
tree72b182013968d37f254bb192f074a6a6ac9c33a4
parent85974d137dd2b37a7d78bffc1d8980cb775f1386 (diff)
downloadpykolab-c68a8b1248a5ef4317c403a5062ee4961b2a85ab.tar.gz
Return the correct variable
-rw-r--r--pykolab/xml/note.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/xml/note.py b/pykolab/xml/note.py
index e46c41c..fa1c89b 100644
--- a/pykolab/xml/note.py
+++ b/pykolab/xml/note.py
@@ -20,7 +20,7 @@ def note_from_message(message):
elif note and part.has_key('Content-ID'):
note._attachment_parts.append(part)
- return todo
+ return note
class Note(kolabformat.Note):