diff options
author | Oz Linden <oz@lindenlab.com> | 2013-04-30 08:57:29 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-04-30 08:57:29 -0400 |
commit | 889d02b52d9d53b59e1bab953b8e19a60c49fd4f (patch) | |
tree | 7991f8b9b0972027cc2bc7301a99779e9850141f /indra/llcommon/tests/llleap_test.cpp | |
parent | ca7de31a6c5031bb928d283362e96bb63e37ce85 (diff) | |
parent | 2ef8fc41e74b6949e02a7715b2b8399094ebd3ea (diff) |
merge changes for CHOP-913
Diffstat (limited to 'indra/llcommon/tests/llleap_test.cpp')
-rwxr-xr-x | indra/llcommon/tests/llleap_test.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/llcommon/tests/llleap_test.cpp b/indra/llcommon/tests/llleap_test.cpp index 9b755e9ca5..29060d4ef5 100755 --- a/indra/llcommon/tests/llleap_test.cpp +++ b/indra/llcommon/tests/llleap_test.cpp @@ -122,13 +122,10 @@ namespace tut // finding indra/lib/python. Use our __FILE__, with // raw-string syntax to deal with Windows pathnames. "mydir = os.path.dirname(r'" << __FILE__ << "')\n" - "try:\n" - " from llbase import llsd\n" - "except ImportError:\n" // We expect mydir to be .../indra/llcommon/tests. - " sys.path.insert(0,\n" - " os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n" - " from indra.base import llsd\n" + "sys.path.insert(0,\n" + " os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n" + "from indra.base import llsd\n" "\n" "class ProtocolError(Exception):\n" " def __init__(self, msg, data):\n" |