Skip to contentSkip to conversation

fetch2/hg: Include missing errno import

PATCH New Logan Buchy 1 participant 1 message Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2/hg: Include missing errno import

errno.ENOENT checked if deletion of the fullmirror fails. Exception was thrown since module not imported

---
 lib/bb/fetch2/hg.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/fetch2/hg.py +1 -0
index bbb4ed9..3b743ff 100644
@@ -28,6 +28,7 @@ import os
 import sys
 import logging
 import bb
+import errno
 from bb import data
 from bb.fetch2 import FetchMethod
 from bb.fetch2 import FetchError
Signature · 1 line
2.5.3