diff options
author | Brian McGroarty <soft@lindenlab.com> | 2008-05-07 20:48:38 +0000 |
---|---|---|
committer | Brian McGroarty <soft@lindenlab.com> | 2008-05-07 20:48:38 +0000 |
commit | d273ba2ce2707c6a2fe45c08fdc2524aae19ad00 (patch) | |
tree | 56b3723fed44031e888de9019b1ad127acdb1806 /indra/lib/python | |
parent | e1e1212daae33723e7da325f295a5c3a6bb78979 (diff) |
Back out QAR-520 maintenance-7 merge -- svn merge -r 86947:86946 svn+ssh://svn.lindenlab.com/svn/linden/release dataserver-is-deprecated
Diffstat (limited to 'indra/lib/python')
-rw-r--r-- | indra/lib/python/indra/base/llsd.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/lib/python/indra/base/llsd.py b/indra/lib/python/indra/base/llsd.py index 76855deb7f..9e636ea423 100644 --- a/indra/lib/python/indra/base/llsd.py +++ b/indra/lib/python/indra/base/llsd.py @@ -215,12 +215,8 @@ class LLSDXMLFormatter(object): def format(self, something): return '<?xml version="1.0" ?>' + self.elt("llsd", self.generate(something)) -_g_xml_formatter = None def format_xml(something): - global _g_xml_formatter - if _g_xml_formatter is None: - _g_xml_formatter = LLSDXMLFormatter() - return _g_xml_formatter.format(something) + return LLSDXMLFormatter().format(something) class LLSDNotationFormatter(object): def __init__(self): |