diff options
author | dolphin <dolphin@lindenlab.com> | 2013-05-20 10:08:27 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-05-20 10:08:27 -0700 |
commit | 716a963d5544977863d07770c3c6449b3d9897bb (patch) | |
tree | 36ce3c4707851bb04f557d790fe410d26a009293 /indra/llcommon/tests/llleap_test.cpp | |
parent | 6308f93c6adddc9d396e8d2527e97e0d02c4aa52 (diff) | |
parent | 0ebcb7e3fd1452d42b5ca48139f99a4fd632d235 (diff) |
Merge with viewer-release
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" |