Commit 82603bb2 by Brian Coca

avoids running abspath on None

parent a3918570
......@@ -576,7 +576,9 @@ class Inventory(object):
if dname is None or dname == '' or dname == '.':
cwd = os.getcwd()
dname = cwd
return os.path.abspath(dname)
if dname:
dname = os.path.abspath(dname)
return dname
def src(self):
""" if inventory came from a file, what's the directory and file name? """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment