aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2007-06-28 12:20:50 -0700
committerMark Sapiro <msapiro@value.net>2007-06-28 12:20:50 -0700
commit3ecc719177d42627bf4f809d0e8bd523b764927d (patch)
tree0da5fad0e5eeb7308489f3e60e495b40339a86e0
parente4230d6e20eaac6b0abff314ee143a12ffbdabc9 (diff)
downloadmailman2-3ecc719177d42627bf4f809d0e8bd523b764927d.tar.gz
mailman2-3ecc719177d42627bf4f809d0e8bd523b764927d.tar.xz
mailman2-3ecc719177d42627bf4f809d0e8bd523b764927d.zip
Cleaned up a couple of style issues. No actual code changes.
Diffstat (limited to '')
-rwxr-xr-xbin/check_perms11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/check_perms b/bin/check_perms
index b9926016..7bba0f74 100755
--- a/bin/check_perms
+++ b/bin/check_perms
@@ -135,12 +135,13 @@ def checkwalk(arg, dirname, names):
# 'group' permissions are checked here. Their 'other' permissions
# aren't checked.
private = mm_cfg.PRIVATE_ARCHIVE_FILE_DIR
- if path == private or \
- (os.path.commonprefix((path, private)) == private
- and os.path.split(path)[1] == 'database'):
+ if path == private or (
+ os.path.commonprefix((path, private)) == private
+ and os.path.split(path)[1] == 'database'):
+ # then...
targetperms = PRIVATEPERMS
- elif os.path.commonprefix((path, mm_cfg.QUEUE_DIR)) \
- == mm_cfg.QUEUE_DIR:
+ elif (os.path.commonprefix((path, mm_cfg.QUEUE_DIR))
+ == mm_cfg.QUEUE_DIR):
targetperms = QFILEPERMS
else:
targetperms = DIRPERMS