Commit 1eec79d6 authored by Mike Hibler's avatar Mike Hibler

Awesome. Loghole w/o the -e arg would not work anywhere but Utah.

It assumed that /proj was itself part of a larger filesystem; e.g. /q/proj.
parent 5e0b42a5
#! /usr/bin/env python
# Copyright (c) 2004, 2005, 2006, 2007 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
......@@ -505,10 +505,10 @@ def infer_pid_eid(*args):
eid = None
for path in args:
dirs = path.split(os.path.sep)
if ((len(dirs) < 6) or not
if ((len(dirs) < 5) or not
((DIRS["proj"] in dirs and
"exp" in dirs[dirs.index(DIRS["proj"]):]) or
(len(dirs) >= 6 and
(len(dirs) >= 5 and
(DIRS["groups"] in dirs and
"exp" in dirs[dirs.index(DIRS["groups"]):])))):
# No match...
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment