diff --git a/data/tools/wesnoth/wescamp.py b/data/tools/wesnoth/wescamp.py index 17eaac79335..eff0732dbe5 100755 --- a/data/tools/wesnoth/wescamp.py +++ b/data/tools/wesnoth/wescamp.py @@ -256,7 +256,6 @@ if __name__ == "__main__": github = libgithub.GitHub(wescamp_dir, git_version, userpass=git_userpass) - is_new_addon = False has_updated = False # If the checkout doesn't exist we need to create it. @@ -268,8 +267,6 @@ if __name__ == "__main__": if not github.addon_exists(addon): github.create_addon(addon) - is_new_addon = True - # Update the directory addon_obj = github.addon(addon) addon_obj.update()