Skip to content
Browse files

Simplifying path to mlog library.

  • Loading branch information...
1 parent f7bf19f commit 3a254d0031d2496c1be362484d8a5a6e6c59a85a @jaredbischof committed Mar 18, 2013
Showing with 1 addition and 8 deletions.
  1. +1 −8 test_scripts/test_mlog_py_lib.py
View
9 test_scripts/test_mlog_py_lib.py
@@ -1,17 +1,10 @@
#!/soft/packages/python/2.6/bin/python
-import os
import sys
-import re, time
-
-# Getting paths
-MCP_path = os.path.realpath(__file__)
-matchObj = re.match(r'(^.*\/)', MCP_path)
-MCP_dir = matchObj.group(0)
# Adding modules directory to path
path = list(sys.path)
-sys.path.insert(0, MCP_dir+"mlog_libs/")
+sys.path.insert(0, ".")
from mlog import mlog

0 comments on commit 3a254d0

Please sign in to comment.
Something went wrong with that request. Please try again.