Skip to content

Commit

Permalink
Don't use reserved keywork type
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Giesler committed Nov 4, 2015
1 parent 18bac79 commit 06548f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vumi/utils.py
Expand Up @@ -467,7 +467,7 @@ def check_status(self, status):
'''
Checks to see if the current status is a repeat. If it is, None is
returned. If it isn't, the status is returned.
:param status: The status to check.
:type status: :class:`TransportStatus`
'''
Expand All @@ -484,10 +484,10 @@ def _set_state(self, component, state):
def _get_types(self, component):
return self.types.get(component, set())

def _add_type(self, component, type):
def _add_type(self, component, type_):
if component not in self.types:
self.types[component] = set()
self.types[component].add(type)
self.types[component].add(type_)

def _remove_types(self, component):
self.types.pop(component, None)
Expand Down

0 comments on commit 06548f2

Please sign in to comment.