summaryrefslogtreecommitdiff
path: root/usr/src/tools
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-03-19 10:25:45 +0200
committerToomas Soome <tsoome@me.com>2021-03-25 17:34:42 +0200
commitff02f816914596a5b08ed3ef117ba39db27d217f (patch)
tree4ad2764f7eca63b31cedd845ac8cbb9e4d201eb5 /usr/src/tools
parentc063eb990f530561e469b3c1e4bb64230456c0da (diff)
downloadillumos-gate-ff02f816914596a5b08ed3ef117ba39db27d217f.tar.gz
13656 pbchk: filter HTTP 401 responses
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/tools')
-rw-r--r--usr/src/tools/onbld/Checks/DbLookups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/tools/onbld/Checks/DbLookups.py b/usr/src/tools/onbld/Checks/DbLookups.py
index 324cc58209..84cbbe96bc 100644
--- a/usr/src/tools/onbld/Checks/DbLookups.py
+++ b/usr/src/tools/onbld/Checks/DbLookups.py
@@ -87,7 +87,7 @@ class BugDB(object):
try:
data = urlopen(req)
except HTTPError as e:
- if e.code == 404:
+ if e.code == 401 or e.code == 404:
raise NonExistentBug(cr)
else:
raise