1
#!/usr/bin/env python2.7
5
from launchpadlib.launchpad import Launchpad
11
client = base.Client(name="txAWS Bug Updater")
12
begin_state, end_state = sys.argv[1:]
14
bugs = client.state_map["begin_state"][begin_state]()
16
raise base.UnknownState("Beginning state given: %s" % begin_state)
18
client.state_map["end_state"][end_state](bugs)
20
raise base.UnknownState("Ending state given: %s" % end_state)
23
if __name__ == "__main__":