diff options
author | simon <none@none> | 2013-05-09 14:10:45 -0700 |
---|---|---|
committer | simon <none@none> | 2013-05-09 14:10:45 -0700 |
commit | ee2fce8790b69d61845cc32fbf7cdce8a33b0dab (patch) | |
tree | 5060f42dca293102c868038f127c1a74f5c4a6aa /indra/llcommon/tests/llleap_test.cpp | |
parent | cd8e0b92e1c8f9f8544b1011e61c21c7789b93b7 (diff) | |
parent | 8895e795763d14c3dae495b3648da3d4a52ba30a (diff) |
Merge downstream code and viewer-beta
Diffstat (limited to 'indra/llcommon/tests/llleap_test.cpp')
-rwxr-xr-x[-rw-r--r--] | 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 100644..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" |