From 3ecc719177d42627bf4f809d0e8bd523b764927d Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Thu, 28 Jun 2007 12:20:50 -0700 Subject: Cleaned up a couple of style issues. No actual code changes. --- bin/check_perms | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3