Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #983 from cclauss/pass-pytests-on-Python3
Browse files Browse the repository at this point in the history
Try to pass the pytests on Python 3
  • Loading branch information
mikegrima committed Mar 6, 2018
2 parents 82ce834 + 102ea93 commit 425f4f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion security_monkey/auditors/github/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
.. moduleauthor:: Mike Grima <mgrima@netflix.com>
"""
from six import itervalues

from security_monkey.auditor import Auditor
from security_monkey.watchers.github.repo import GitHubRepo

Expand Down Expand Up @@ -111,6 +113,6 @@ def check_for_admin_teams(self, repo_item):
"""
tag = "Repo has teams with admin permissions."

for permission in repo_item.config["team_permissions"].itervalues():
for permission in itervalues(repo_item.config["team_permissions"]):
if permission == "admin":
self.add_issue(3, tag, repo_item, notes="Repo has a team with admin permissions to it.")

0 comments on commit 425f4f3

Please sign in to comment.