Created
March 18, 2016 23:52
-
-
Save fujin/05305140682efd5c5c72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from titan.pantheon import workflow_utilities | |
| f = open('freeze-sites.txt', 'r') | |
| for line in f.readlines(): | |
| for wf_res in workflow_utilities.create_site_workflow(line.strip(), 'freeze_site', block_until_complete=True): | |
| print(wf_res) | |
| f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment