mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-22 18:39:31 +01:00
Fix Python 3.7 support, and run Travis tests on 3.7.
Travis' "nightly" python is actually older than 3.7.0 (3.7.0a4+)
This commit is contained in:
parent
fb3c8978b5
commit
1f400e4020
@ -8,7 +8,7 @@ python:
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "nightly"
|
||||
- "3.7-dev"
|
||||
- "pypy"
|
||||
- "pypy-5.3.1" # default pypy3 doesn't work, see https://bitbucket.org/pypy/pypy/issues/2129/local-variable-val-referenced-before
|
||||
env:
|
||||
|
@ -196,7 +196,6 @@ class ChannelUserDictionary(collections.MutableMapping):
|
||||
for channel, ids in self.channels.items():
|
||||
for id_, value in ids.items():
|
||||
yield (channel, id_)
|
||||
raise StopIteration()
|
||||
|
||||
def __len__(self):
|
||||
return sum([len(x) for x in self.channels])
|
||||
|
Loading…
Reference in New Issue
Block a user