summaryrefslogtreecommitdiff
path: root/src/leap/mail/size.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-28 18:39:59 -0400
committerKali Kaneko <kali@leap.se>2014-01-30 14:20:44 -0400
commita7e0054b595822325f749b0b1df7d25cab4e6486 (patch)
treeca1434b4bc03ccca4dcdd9519b3973da179d4809 /src/leap/mail/size.py
parentf096368cfbc49caab52811ae50388aae74272a1a (diff)
docstring fixes
Also some fixes for None comparisons.
Diffstat (limited to 'src/leap/mail/size.py')
-rw-r--r--src/leap/mail/size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/size.py b/src/leap/mail/size.py
index 4880d71..c9eaabd 100644
--- a/src/leap/mail/size.py
+++ b/src/leap/mail/size.py
@@ -48,10 +48,10 @@ def get_size(item):
some memory, so use with care.
:param item: the item which size wants to be computed
+ :rtype: int
"""
seen = set()
size = _get_size(item, seen)
- #print "len(seen) ", len(seen)
del seen
collect()
return size