summaryrefslogtreecommitdiff
path: root/indra/lib
diff options
context:
space:
mode:
authorAndrew Meadows <andrew@lindenlab.com>2009-01-17 01:29:45 +0000
committerAndrew Meadows <andrew@lindenlab.com>2009-01-17 01:29:45 +0000
commit15a6d273cc00e1f4f9f9d56d8c878b46b283b289 (patch)
treef4ac9fa1f96c6d246b571412ce6a67ee1837794d /indra/lib
parent446c55538e1fb12d8a1feb541edf99c16bb29121 (diff)
svn merge -r108142:108148 svn+ssh://svn.lindenlab.com/svn/linden/qa/maint-server/maint-server-5-r108113
Diffstat (limited to 'indra/lib')
-rw-r--r--indra/lib/python/indra/base/llsd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/lib/python/indra/base/llsd.py b/indra/lib/python/indra/base/llsd.py
index 05fbc81b9c..9534d5935e 100644
--- a/indra/lib/python/indra/base/llsd.py
+++ b/indra/lib/python/indra/base/llsd.py
@@ -28,6 +28,7 @@ $/LicenseInfo$
import datetime
import base64
+import string
import struct
import time
import types
@@ -940,6 +941,7 @@ def parse_notation(something):
def parse(something):
try:
+ something = string.lstrip(something) #remove any pre-trailing whitespace
if something.startswith('<?llsd/binary?>'):
return parse_binary(something)
# This should be better.