From 7ab541b990d5aec4a800ffb84d733521e4baf0da Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 26 Sep 2000 03:48:05 +0000 Subject: checkarchivedbs(): Don't bomb out if there are some nondirectories in the private archive dir. --- bin/check_perms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1