def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def matchfn(self, f):
        match = self._matcher
        return match(f) or any(map(match, util.dirs((f,))))