Replace six.iteritems with iter()
We don't need six for this. Change-Id: I19673bf47ef74b5e67c4197d31600c73c025ab4c
This commit is contained in:
parent
4851742244
commit
506aea9010
@ -53,7 +53,6 @@ import irc.bot
|
||||
import logging.config
|
||||
import os
|
||||
import re
|
||||
import six
|
||||
import ssl
|
||||
import sys
|
||||
import threading
|
||||
@ -283,7 +282,7 @@ class ChannelConfig(object):
|
||||
self.projects = {}
|
||||
self.events = {}
|
||||
self.branches = {}
|
||||
for channel, val in six.iteritems(self.data):
|
||||
for channel, val in iter(self.data.items()):
|
||||
for event in val['events']:
|
||||
event_set = self.events.get(event, set())
|
||||
event_set.add(channel)
|
||||
|
@ -4,4 +4,3 @@ gerritlib
|
||||
irc
|
||||
pyyaml
|
||||
python-daemon
|
||||
six>=1.6.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user