summaryrefslogtreecommitdiff
path: root/lib/thandy/encodeToXML.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-07-25 15:13:04 -0400
committerNick Mathewson <nickm@torproject.org>2010-07-25 16:57:24 -0400
commitbbb6cb5fe6a61aa0975dcd9df11f9f648f6abba2 (patch)
treec97f164ecc7811ef3d6ba07d51a8c05a695d222d /lib/thandy/encodeToXML.py
parent5f2d07ce78e6443592f84a803fe2adced49ada39 (diff)
More unit tests and documentation for the Thandy code
Diffstat (limited to 'lib/thandy/encodeToXML.py')
-rw-r--r--lib/thandy/encodeToXML.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/thandy/encodeToXML.py b/lib/thandy/encodeToXML.py
index c563d77..b2fe351 100644
--- a/lib/thandy/encodeToXML.py
+++ b/lib/thandy/encodeToXML.py
@@ -1,5 +1,12 @@
# Copyright 2008 The Tor Project, Inc. See LICENSE for licensing information.
+"""This module converts JSon to XML. It is allegedly for people who have
+ libraries that can read XML, but nothing that can read JSon.
+
+ Nick questions whether it's actually useful. Certainly, it's quite
+ unlikely that you'll be able to check any keys once you've converted it.
+"""
+
import re
import thandy