All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake: Missing 'import errno' in git.py
@ 2015-09-19 12:07 Mike Looijmans
  2015-09-19 13:16 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Looijmans @ 2015-09-19 12:07 UTC (permalink / raw)
  To: openembedded-core

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

-- 
Mike Looijmans


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-19 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-19 12:07 bitbake: Missing 'import errno' in git.py Mike Looijmans
2015-09-19 13:16 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.