Index: tools/auto_bisect/bisect_printer.py |
diff --git a/tools/auto_bisect/bisect_printer.py b/tools/auto_bisect/bisect_printer.py |
index 8aeb06664214e6342be0bbd9235eb5a1c6385598..27866913c23c8fb66a14151e9116beb20eb40526 100644 |
--- a/tools/auto_bisect/bisect_printer.py |
+++ b/tools/auto_bisect/bisect_printer.py |
@@ -204,7 +204,7 @@ class BisectPrinter(object): |
@staticmethod |
def _GetViewVCLinkFromDepotAndHash(git_revision, depot): |
"""Gets link to the repository browser.""" |
- if depot and bisect_utils.DEPOT_DEPS_NAME[depot].has_key('viewvc'): |
+ if depot and 'viewvc' in bisect_utils.DEPOT_DEPS_NAME[depot]: |
return bisect_utils.DEPOT_DEPS_NAME[depot]['viewvc'] + git_revision |
return '' |