With fileglob should return full paths as in 1.1

This commit is contained in:
Michael DeHaan 2013-04-23 00:54:39 -04:00
parent 5cc3dd353d
commit bd0c22868e

View file

@ -34,6 +34,6 @@ class LookupModule(object):
dwimmed = utils.path_dwim(self.basedir, term) dwimmed = utils.path_dwim(self.basedir, term)
globbed = glob.glob(dwimmed) globbed = glob.glob(dwimmed)
ret.extend(os.path.basename(g) for g in globbed if os.path.isfile(g)) ret.extend(g for g in globbed if os.path.isfile(g))
return ret return ret