add over.app.Main.setup arg reset
This commit is contained in:
parent
cc7d97c811
commit
f31e2137ac
2 changed files with 9 additions and 5 deletions
|
@ -726,11 +726,15 @@ class Main:
|
||||||
for action in scheduled_actions:
|
for action in scheduled_actions:
|
||||||
action()
|
action()
|
||||||
|
|
||||||
def setup(self, command_line=None, force_config=None):
|
def setup(self, command_line=None, force_config=None, reset=False):
|
||||||
"""
|
"""
|
||||||
@while determining application configuration
|
@while determining application configuration
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if reset:
|
||||||
|
for option in self.options.values():
|
||||||
|
option.reset(True)
|
||||||
|
|
||||||
self.parse_config(force_config)
|
self.parse_config(force_config)
|
||||||
self.parse_command_line(command_line)
|
self.parse_command_line(command_line)
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
major = 2 # VERSION_MAJOR_IDENTIFIER
|
major = 2 # VERSION_MAJOR_IDENTIFIER
|
||||||
minor = 0 # VERSION_MINOR_IDENTIFIER
|
minor = 1 # VERSION_MINOR_IDENTIFIER
|
||||||
# VERSION_LAST_MM 2.0
|
# VERSION_LAST_MM 2.1
|
||||||
patch = 10 # VERSION_PATCH_IDENTIFIER
|
patch = 0 # VERSION_PATCH_IDENTIFIER
|
||||||
str = "2.0.10" # VERSION_STRING_IDENTIFIER
|
str = "2.1.0" # VERSION_STRING_IDENTIFIER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue