[FIX] missing imports and typo in __all__.

bzr revid: florent.xicluna@gmail.com-20120116183328-m9isnoipj8taeke3
This commit is contained in:
Florent Xicluna 2012-01-16 19:33:28 +01:00
parent 2606558efa
commit 4d208734ec
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import common
import controllers
import logging
import optparse
_logger = logging.getLogger(__name__)

View File

@ -8,7 +8,7 @@ import binascii
import hashlib
import simplejson.encoder
__all__ = ['Domain', 'Context', 'NonLiteralEncoder, non_literal_decoder', 'CompoundDomain', 'CompoundContext']
__all__ = ['Domain', 'Context', 'NonLiteralEncoder', 'non_literal_decoder', 'CompoundDomain', 'CompoundContext']
#: 48 bits should be sufficient to have almost no chance of collision
#: with a million hashes, according to hg@67081329d49a

View File

@ -3,6 +3,9 @@
# New BSD Licensed
#
# URL: http://code.google.com/p/xml2json-direct/
import simplejson
from xml.etree import ElementTree
class Xml2Json(object):
@staticmethod