mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 03:11:52 +00:00
Get rid of a now-unused variable
This commit is contained in:
parent
2c6a43308f
commit
99d5f03e1e
@ -256,7 +256,6 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
github = libgithub.GitHub(wescamp_dir, git_version, userpass=git_userpass)
|
github = libgithub.GitHub(wescamp_dir, git_version, userpass=git_userpass)
|
||||||
|
|
||||||
is_new_addon = False
|
|
||||||
has_updated = False
|
has_updated = False
|
||||||
|
|
||||||
# If the checkout doesn't exist we need to create it.
|
# If the checkout doesn't exist we need to create it.
|
||||||
@ -268,8 +267,6 @@ if __name__ == "__main__":
|
|||||||
if not github.addon_exists(addon):
|
if not github.addon_exists(addon):
|
||||||
github.create_addon(addon)
|
github.create_addon(addon)
|
||||||
|
|
||||||
is_new_addon = True
|
|
||||||
|
|
||||||
# Update the directory
|
# Update the directory
|
||||||
addon_obj = github.addon(addon)
|
addon_obj = github.addon(addon)
|
||||||
addon_obj.update()
|
addon_obj.update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user