diff --git a/c14n.py b/c14n.py index 837c6ee..781f256 100755 --- a/c14n.py +++ b/c14n.py @@ -525,7 +525,7 @@ def Canonicalize(node, output=None, **kw): else: apply(_implementation2, (node, output.write), kw) else: - s = c14n.StringIO.StringIO() + s = StringIO.StringIO() if _implementation2 is None: _implementation(node, s.write, **kw) else: