projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe7864
)
Import errno, used in Exception handling.
author
Paul Tagliamonte
<tag@pault.ag>
Mon, 25 Aug 2014 16:59:46 +0000
(12:59 -0400)
committer
Paul Tagliamonte
<tag@pault.ag>
Mon, 25 Aug 2014 16:59:46 +0000
(12:59 -0400)
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
patch
|
blob
|
history
diff --git
a/daklib/upload.py
b/daklib/upload.py
index 76939bd7719e851f3323e39190e56a8cd3fe6430..7095b679c05aa991484bcb7393a16a5161ef5552 100644
(file)
--- 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