From 10018d093e13f58eae157c3a2e78bd111221b730 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 06 2017 19:29:48 +0000 Subject: Drop un-necessary lines of code --- diff --git a/tests/test_pagure_flask_api_fork.py b/tests/test_pagure_flask_api_fork.py index 984ab64..ed6cee4 100644 --- a/tests/test_pagure_flask_api_fork.py +++ b/tests/test_pagure_flask_api_fork.py @@ -406,7 +406,6 @@ class PagureFlaskApiForktests(tests.Modeltests): # Allow the token to close PR acls = pagure.lib.get_acls(self.session) - acl = None for acl in acls: if acl.name == 'pull_request_close': break @@ -520,7 +519,6 @@ class PagureFlaskApiForktests(tests.Modeltests): # Allow the token to merge PR acls = pagure.lib.get_acls(self.session) - acl = None for acl in acls: if acl.name == 'pull_request_merge': break