bitbake: Missing 'import errno' in git.py
I think there's an "import errno" missing in the file. Anyone already aware of this, or should I make a patch?
File: '.../bitbake/lib/bb/fetch2/git.py', lineno: 224, function: download
0220: runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d)
0221: try:
0222: os.unlink(ud.fullmirror)
0223: except OSError as exc:
*** 0224: if exc.errno != errno.ENOENT:
0225: raise
0226: os.chdir(ud.clonedir)
0227: for name in ud.names:
0228: if not self._contains_ref(ud, d, name):
Exception: NameError: global name 'errno' is not defined
Signature · 1 line
Mike Looijmans
Quoted 3 lines · Mike Looijmans
I think there's an "import errno" missing in the file. Anyone already aware of this, or should I make a patch?
Yes, there's a patch on the bitbake list already.
Ross