summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-01-01 02:40:00 +0200
committerLars Wirzenius <liw@liw.fi>2010-01-01 02:40:00 +0200
commit63a1db8e90ab0e34ea722075d2cecfdf67297bcc (patch)
tree72e0bbd8d83b81df1227d81b29e9dd0e71d3d7ba
parent0a418e80e25bf108130764c47cd6599ed267d4ee (diff)
downloadsummain-63a1db8e90ab0e34ea722075d2cecfdf67297bcc.tar.gz
Add explanation of new, optional stat_result argument to
initializer.
-rw-r--r--summainlib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/summainlib.py b/summainlib.py
index 4b509fa..b5973e5 100644
--- a/summainlib.py
+++ b/summainlib.py
@@ -26,6 +26,8 @@ class FilesystemObject(object):
Responsible for gathering information and formatting it for
reporting.
+ The optional stat_result argument is intended for unit tests.
+
'''
def __init__(self, filename, stat_result=None):