Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 5cef36d

Browse files
authored
Merge pull request #647 from CMSCompOps/add_manual_injector
add manual to injector
2 parents a586f85 + 491fd03 commit 5cef36d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Unified/injector.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def injector(url, options, specific):
1515
mlock = moduleLock()
16-
if mlock(): return
16+
if mlock() and not options.manual: return
1717

1818
use_mcm = True
1919
up = componentInfo(soft=['mcm','wtc','jira'] )
@@ -229,6 +229,7 @@ def injector(url, options, specific):
229229
parser.add_option('--user_relval',help="The user that can inject workflows for relvals", default=None)
230230
parser.add_option('--user_storeresults',help="The user that can inject workflows for store results", default=None)
231231
parser.add_option('--no_convert',help="Prevent the conversion to stepchain", default=False)
232+
parser.add_option('-m','--manual', help='Manual inject, bypassing lock check',action='store_true',dest='manual',default=False)
232233
(options,args) = parser.parse_args()
233234

234235
spec = None

0 commit comments

Comments
 (0)