diff options
| author | tkikuchi | 2007-03-03 03:19:21 +0000 |
|---|---|---|
| committer | tkikuchi | 2007-03-03 03:19:21 +0000 |
| commit | ef47275337f8a66d577489c1f0121087a713cf27 (patch) | |
| tree | 2875093fbb3e524dc545053ad8a77fbd687da7cd /Mailman/enum.py | |
| parent | a39a27fce459fb6fc4d0c1ee17ab571d51bf16bf (diff) | |
| download | mailman-ef47275337f8a66d577489c1f0121087a713cf27.tar.gz mailman-ef47275337f8a66d577489c1f0121087a713cf27.tar.zst mailman-ef47275337f8a66d577489c1f0121087a713cf27.zip | |
Some fixes for rev 8162 for mmsitepass to work.
emum.py:
'cls' is used instead of 'self'
mmsitepass.py:
SCHEMES -> Schemes
passwords.py:
make_secret is called with 'scheme' in string.
decode() of challenge string fails if it is unicode.
Diffstat (limited to 'Mailman/enum.py')
| -rw-r--r-- | Mailman/enum.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/enum.py b/Mailman/enum.py index fc05ff5b1..a42799f37 100644 --- a/Mailman/enum.py +++ b/Mailman/enum.py @@ -75,8 +75,8 @@ class EnumMetaclass(type): return '<%s {%s}>' % (cls.__name__, COMMASPACE.join(enums)) def __iter__(cls): - for i in sorted(self._enums): - yield self._enums[i] + for i in sorted(cls._enums): + yield cls._enums[i] def __getitem__(cls, i): # i can be an integer or a string |
