diff options
| author | Barry Warsaw | 2012-03-15 15:48:41 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-15 15:48:41 -0700 |
| commit | ac0f1c3916e797f3a2261e9a2631e496fb90a8f1 (patch) | |
| tree | 441a8e2b32de59f466a837f072120c36c92f60d4 /src/mailman/rules | |
| parent | 0589c867988dc70cbe83a53bc9d1e2bbf3108b82 (diff) | |
| download | mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.gz mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.zst mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.zip | |
Schema change. After discussion at Pycon, we decided to change "real_name" to
"display_name" across the board.
* `IMailingList.real_name` -> `IMailingList.display_name`
* `IUser.real_name` -> `IUser.display_name`
* `IAddress.real_name` -> `IAddress.display_name`
* Schema changes:
- real_name -> display_name (mailinglist, user, address)
Diffstat (limited to 'src/mailman/rules')
| -rw-r--r-- | src/mailman/rules/suspicious.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rules/suspicious.py b/src/mailman/rules/suspicious.py index a06a2d0aa..ad1ab42cd 100644 --- a/src/mailman/rules/suspicious.py +++ b/src/mailman/rules/suspicious.py @@ -68,7 +68,7 @@ def _parse_matching_header_opt(mlist): # This didn't look like a header line. BAW: should do a # better job of informing the list admin. log.error('bad bounce_matching_header line: %s\n%s', - mlist.real_name, line) + mlist.display_name, line) else: header = line[:i] value = line[i+1:].lstrip() @@ -79,7 +79,7 @@ def _parse_matching_header_opt(mlist): # job of informing the list admin. log.error("""\ bad regexp in bounce_matching_header line: %s -\n%s (cause: %s)""", mlist.real_name, value, error) +\n%s (cause: %s)""", mlist.display_name, value, error) else: all.append((header, cre, line)) return all |
