Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Remove trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed Mar 7, 2013
1 parent 88af0d6 commit 625930e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boto/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ def endElement(self, name):
def characters(self, content):
self.current_text += content


class XmlHandlerWrapper(object):
def __init__(self, root_node, connection):
self.handler = XmlHandler(root_node, connection)
self.parser = xml.sax.make_parser()
self.parser.setContentHandler(self.handler)
self.parser.setFeature(xml.sax.handler.feature_external_ges, 0)

def parseString(self, content):
return self.parser.parse(StringIO.StringIO(content))

0 comments on commit 625930e

Please sign in to comment.