[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit e94e00a61d262fd52706c0891276811ca0369e52
Author: Erik <eislo@xxxxxxxxxxxx>
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.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits