diff options
| author | bwarsaw | 2001-02-15 07:37:36 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-02-15 07:37:36 +0000 |
| commit | f9111b71b638aec84df61175c966bd6ab850c3a0 (patch) | |
| tree | 8f6d3883b5fd89f3d1efa961fd89d0c2b0b90011 | |
| parent | a943e1ca867ff9fd67d0675dd78543159ed4fef4 (diff) | |
| download | mailman-f9111b71b638aec84df61175c966bd6ab850c3a0.tar.gz mailman-f9111b71b638aec84df61175c966bd6ab850c3a0.tar.zst mailman-f9111b71b638aec84df61175c966bd6ab850c3a0.zip | |
We don't need to override the __init__() of the base class any more
since we're requiring Python 2.0. Good catch Thomas!
| -rw-r--r-- | Mailman/SafeDict.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Mailman/SafeDict.py b/Mailman/SafeDict.py index d7b1004ff..a8768dd27 100644 --- a/Mailman/SafeDict.py +++ b/Mailman/SafeDict.py @@ -26,13 +26,6 @@ class SafeDict(UserDict): This is used in maketext so that editing templates is a bit more robust. """ - def __init__(self, d=None): - # optional initial dictionary is a Python 1.5.2-ism. Do it this way - # for portability - UserDict.__init__(self) - if d is not None: - self.update(d) - def __getitem__(self, key): try: return self.data[key] |
