diff options
author | Toomas Soome <tsoome@me.com> | 2021-03-19 10:25:45 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-03-25 17:34:42 +0200 |
commit | ff02f816914596a5b08ed3ef117ba39db27d217f (patch) | |
tree | 4ad2764f7eca63b31cedd845ac8cbb9e4d201eb5 /usr/src/tools | |
parent | c063eb990f530561e469b3c1e4bb64230456c0da (diff) | |
download | illumos-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.py | 2 |
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 |