Merge "[py34] replace file() with open()"

This commit is contained in:
Jenkins 2016-03-24 14:02:38 +00:00 committed by Gerrit Code Review
commit c23ce5300b

View File

@ -52,7 +52,7 @@ class RoutingDriver(notifier.Driver):
def _get_notifier_config_file(self, filename):
"""Broken out for testing."""
return file(filename, 'r')
return open(filename, 'r')
def _load_notifiers(self):
"""One-time load of notifier config file."""