From d9dac076c81aa86b44e157351331de1ffa1c2877 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Mon, 25 Aug 2014 12:59:46 -0400 Subject: [PATCH] Import errno, used in Exception handling. From a reject exception: | File "/srv/ftp-master.debian.org/dak/dak/daklib/upload.py", line 155, in check | if e.errno == errno.ENOENT: | NameError: global name 'errno' is not defined --- daklib/upload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daklib/upload.py b/daklib/upload.py index 76939bd7..7095b679 100644 --- a/daklib/upload.py +++ b/daklib/upload.py @@ -23,6 +23,7 @@ It provides methods to access the included binary and source packages. import apt_inst import apt_pkg +import errno import os import re -- 2.39.5