mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
parent
4f29662a9e
commit
9a5a61bdca
5 changed files with 18 additions and 20 deletions
|
@ -1,13 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sh
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
import sh
|
||||
REPO_PATH = {
|
||||
'extras': '/srv/ansible/stable-2.2/lib/ansible/modules/extras',
|
||||
'core': '/srv/ansible/stable-2.2/lib/ansible/modules/core'
|
||||
}
|
||||
|
||||
REPO_PATH = {'extras': '/srv/ansible/stable-2.2/lib/ansible/modules/extras',
|
||||
'core': '/srv/ansible/stable-2.2/lib/ansible/modules/core'}
|
||||
|
||||
if __name__ == '__main__':
|
||||
commit_hash = sys.argv[1]
|
||||
|
@ -49,4 +51,3 @@ if __name__ == '__main__':
|
|||
print("Problem occurred. Patch saved in: {}".format(patchfilename))
|
||||
else:
|
||||
os.remove(patchfilename)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue