Index: /issm/trunk-jpl/src/m/dev/devpath.py
===================================================================
--- /issm/trunk-jpl/src/m/dev/devpath.py	(revision 23758)
+++ /issm/trunk-jpl/src/m/dev/devpath.py	(revision 23759)
@@ -14,19 +14,23 @@
     if '.svn' in dirs:
         dirs.remove('.svn')
-        for file in files:
-            if file.find(".py") != -1:
-                if file.find(".pyc") == -1:
-                    if root not in sys.path:
-                        sys.path.append(root)
+    for file in files:
+        if file.find(".py") != -1:
+            if file.find(".pyc") == -1:
+                if root not in sys.path:
+                    sys.path.append(root)
 
 #Also add the Nightly run directory
-sys.path.append(ISSM_DIR + '/test/NightlyRun')
-
-sys.path.append(ISSM_DIR + '/lib')
-sys.path.append(ISSM_DIR + '/src/wrappers/python/.libs')
+if ISSM_DIR + '/test/NightlyRun' not in sys.path:
+    sys.path.append(ISSM_DIR + '/test/NightlyRun')
+if ISSM_DIR + '/lib' not in sys.path:
+    sys.path.append(ISSM_DIR + '/lib')
+if ISSM_DIR + '/src/wrappers/python/.libs' not in sys.path:
+    sys.path.append(ISSM_DIR + '/src/wrappers/python/.libs')
 # If using clusters, we need to have the path to the cluster settings directory
 if JPL_SVN is not None:
-    if os.path.exists(JPL_SVN + '/usr/' + USERNAME):
-        sys.path.append(JPL_SVN + '/usr/' + USERNAME)
+    jpl_path = JPL_SVN + '/usr/' + USERNAME
+    if os.path.exists(jpl_path):
+        if jpl_path not in sys.path:
+            sys.path.append(jpl_path)
     else:
         warnings.warn('cluster settings should be in, {}/usr/{}'.format(JPL_SVN, USERNAME))
