------------------------------------------------------------
revno: 983
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Thu 2007-06-28 12:20:50 -0700
message:
Cleaned up a couple of style issues. No actual code changes.
modified:
bin/check_perms
=== modified file 'bin/check_perms'
--- a/bin/check_perms 2007-06-28 17:26:13 +0000
+++ b/bin/check_perms 2007-06-28 19:20:50 +0000
@@ -135,12 +135,13 @@
# '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
--
(no title)
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+subscription/mailman-checkins.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org