[tor-commits] [stem/master] minor documentation update

atagar at torproject.org atagar at torproject.org
Sat Aug 4 19:19:49 UTC 2012


commit e94e00a61d262fd52706c0891276811ca0369e52
Author: Erik <eislo at wesleyan.edu>
Date:   Tue Jul 31 12:38:27 2012 -0400

    minor documentation update
---
 stem/descriptor/export.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/stem/descriptor/export.py b/stem/descriptor/export.py
index 1f94734..11b4918 100644
--- a/stem/descriptor/export.py
+++ b/stem/descriptor/export.py
@@ -82,6 +82,7 @@ def export_csv_file(descriptors, document, include_fields=(), exclude_fields=(),
   
   Calls get_csv_lines with the given argument, then writes the returned string
   to a file location specified by document_location.
+  Precondition that param document has a 'write' attribute.
   
   :param list descriptors: descriptor objects with attributes to export as csv file.
   :param object document: File object to be written to.





More information about the tor-commits mailing list