Set PlayContext.timeout from the value specified by -T on the command-line
Fixes #12372
This commit is contained in:
parent
2a50957ad8
commit
85bb508f26
1 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,8 @@ class PlayContext(Base):
|
||||||
self.start_at_task = to_unicode(options.start_at_task)
|
self.start_at_task = to_unicode(options.start_at_task)
|
||||||
if hasattr(options, 'diff') and options.diff:
|
if hasattr(options, 'diff') and options.diff:
|
||||||
self.diff = boolean(options.diff)
|
self.diff = boolean(options.diff)
|
||||||
|
if hasattr(options, 'timeout') and options.timeout:
|
||||||
|
self.timeout = int(options.timeout)
|
||||||
|
|
||||||
# get the tag info from options, converting a comma-separated list
|
# get the tag info from options, converting a comma-separated list
|
||||||
# of values into a proper list if need be. We check to see if the
|
# of values into a proper list if need be. We check to see if the
|
||||||
|
|
Loading…
Reference in a new issue