mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 11:53:17 +00:00
Remove references to python validation from wesnoth_addon_manager
This commit is contained in:
parent
6f33c69e6a
commit
ffdecb28a3
@ -245,17 +245,6 @@ class CampaignClient:
|
|||||||
|
|
||||||
return self.decode(self.read_packet())
|
return self.decode(self.read_packet())
|
||||||
|
|
||||||
def validate_campaign(self, name, passphrase):
|
|
||||||
"""
|
|
||||||
Validates python scripts in the named campaign.
|
|
||||||
"""
|
|
||||||
request = wmldata.DataSub("validate_scripts")
|
|
||||||
request.set_text_val("name", name)
|
|
||||||
request.set_text_val("master_password", passphrase)
|
|
||||||
self.send_packet(self.make_packet(request))
|
|
||||||
|
|
||||||
return self.decode(self.read_packet())
|
|
||||||
|
|
||||||
def delete_campaign(self, name, passphrase):
|
def delete_campaign(self, name, passphrase):
|
||||||
"""
|
"""
|
||||||
Deletes the named campaign on the server.
|
Deletes the named campaign on the server.
|
||||||
|
@ -70,10 +70,6 @@ if __name__ == "__main__":
|
|||||||
help = "Update all installed add-ons in the given directory. " +
|
help = "Update all installed add-ons in the given directory. " +
|
||||||
"This works by comparing the _info.cfg file in each addon directory " +
|
"This works by comparing the _info.cfg file in each addon directory " +
|
||||||
"with the version on the server.")
|
"with the version on the server.")
|
||||||
optionparser.add_option("-v", "--validate",
|
|
||||||
help = "validate python scripts in an add-on " +
|
|
||||||
"(VALIDATE specifies the name of the add-on, " +
|
|
||||||
"set the password with -P)")
|
|
||||||
optionparser.add_option("-V", "--verbose",
|
optionparser.add_option("-V", "--verbose",
|
||||||
help = "be even more verbose for everything",
|
help = "be even more verbose for everything",
|
||||||
action = "store_true",)
|
action = "store_true",)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user