Skip to content

Commit

Permalink
simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Jan 31, 2015
1 parent f2f4970 commit 5afea13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/status/web/change_hook.py
Expand Up @@ -122,7 +122,7 @@ def getChanges(self, request):
else:
dialect = 'base'

if dialect in self.dialects.keys():
if dialect in self.dialects:
log.msg("Attempting to load module buildbot.status.web.hooks." + dialect)
tempModule = namedModule('buildbot.status.web.hooks.' + dialect)
changes, src = tempModule.getChanges(request, self.dialects[dialect])
Expand Down

0 comments on commit 5afea13

Please sign in to comment.