mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #14538 from makinacorpus/fix
Fix pepa shortcircuiting all scripts args at it'simport time...
This commit is contained in:
commit
4c52bc822a
@ -17,7 +17,7 @@ import sys
|
||||
|
||||
|
||||
log = None
|
||||
if sys.stdout.isatty():
|
||||
if __name__ == '__main__' and sys.stdout.isatty():
|
||||
import argparse
|
||||
from colorlog import ColoredFormatter
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user