Don't call get_branch_name from assert_one_change

pyflakes reports:

git-review:464: local variable 'branch_name' is assigned to but never
used

Change-Id: I4b44feda65f2a5014107c7f606ada8550391b176
This commit is contained in:
Marcin Cieslak 2013-02-11 01:22:58 +01:00
parent e23ca3848e
commit 158fabb525

View File

@ -461,7 +461,6 @@ def get_branch_name(target_branch):
def assert_one_change(remote, branch, yes, have_hook):
branch_name = get_branch_name(branch)
has_color = check_color_support()
if has_color:
color = git_config_get_value("color", "ui").lower()