Skip to content
Snippets Groups Projects
Commit 63908e71 authored by Timo Koch's avatar Timo Koch
Browse files

[bin][instscript] use bracket operator over get()

parent f092d237
No related branches found
No related tags found
1 merge request!2867Fix/make install script
Pipeline #9994 passed
+2
...@@ -109,7 +109,7 @@ def runMakeInstallScript(): ...@@ -109,7 +109,7 @@ def runMakeInstallScript():
modName = getModuleInfo(modPath, "Module") modName = getModuleInfo(modPath, "Module")
printProgressInfo([f"Creating install script for module '{modName}' in folder '{modPath}'"]) printProgressInfo([f"Creating install script for module '{modName}' in folder '{modPath}'"])
scriptName = cmdArgs.get("filename") scriptName = cmdArgs["filename"]
if not scriptName: if not scriptName:
scriptName = getDefaultScriptName(modName, cmdArgs["language"]) scriptName = getDefaultScriptName(modName, cmdArgs["language"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment