Remove references to python validation from wesnoth_addon_manager
This commit is contained in:
parent
6f33c69e6a
commit
ffdecb28a3
2 changed files with 0 additions and 15 deletions
|
@ -245,17 +245,6 @@ class CampaignClient:
|
|||
|
||||
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):
|
||||
"""
|
||||
Deletes the named campaign on the server.
|
||||
|
|
|
@ -70,10 +70,6 @@ if __name__ == "__main__":
|
|||
help = "Update all installed add-ons in the given directory. " +
|
||||
"This works by comparing the _info.cfg file in each addon directory " +
|
||||
"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",
|
||||
help = "be even more verbose for everything",
|
||||
action = "store_true",)
|
||||
|
|
Loading…
Add table
Reference in a new issue