fixed: PWD comparison in arbiter using incorrect attribute names

This commit is contained in:
sib 2012-11-22 23:29:25 -05:00
parent 0d91a519a5
commit 771aae85e0

View File

@ -62,7 +62,7 @@ class Arbiter(object):
try:
a = os.stat(os.environ['PWD'])
b = os.stat(os.getcwd())
if a.ino == b.ino and a.dev == b.dev:
if a.st_ino == b.st_ino and a.st_dev == b.st_dev:
cwd = os.environ['PWD']
else:
cwd = os.getcwd()