summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-09-26 03:48:05 +0000
committerbwarsaw2000-09-26 03:48:05 +0000
commit7ab541b990d5aec4a800ffb84d733521e4baf0da (patch)
tree8bd1cedcd623bbcc125571872c94499eb9d8ef05
parenta1cb6b550bd8ff9c444ea94810d66d82fd9013ca (diff)
downloadmailman-7ab541b990d5aec4a800ffb84d733521e4baf0da.tar.gz
mailman-7ab541b990d5aec4a800ffb84d733521e4baf0da.tar.zst
mailman-7ab541b990d5aec4a800ffb84d733521e4baf0da.zip
-rwxr-xr-xbin/check_perms2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check_perms b/bin/check_perms
index 97a4bf17e..60b7cdb94 100755
--- a/bin/check_perms
+++ b/bin/check_perms
@@ -157,7 +157,7 @@ def checkarchivedbs():
try:
mode = statmode(dbdir)
except OSError, e:
- if e.errno <> errno.ENOENT: raise
+ if e.errno not in (errno.ENOENT, errno.ENOTDIR): raise
continue
if mode & S_IRWXO:
STATE.ERRORS = STATE.ERRORS + 1