Use new cscript syntax.
authorCarl Hetherington <cth@carlh.net>
Thu, 2 Apr 2020 13:26:06 +0000 (15:26 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 2 Apr 2020 13:26:06 +0000 (15:26 +0200)
cscript

diff --git a/cscript b/cscript
index 510fc44d886972b95a1061b7c52e2e6701081ba5..71760f030c5ae9eacd7a0922877a386b8ae0dd73 100644 (file)
--- a/cscript
+++ b/cscript
@@ -380,8 +380,7 @@ def dependencies(target):
 
     return deps
 
-def option_defaults():
-    return { "gui": True, "variant": None, "disk": False }
+option_defaults = { "gui": True, "variant": None, "disk": False }
 
 def configure_options(target, options):
     opt = ''