equal
deleted
inserted
replaced
1137 |
1137 |
1138 |
1138 |
1139 def run(args): |
1139 def run(args): |
1140 """command line tool""" |
1140 """command line tool""" |
1141 import os |
1141 import os |
1142 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) |
|
1143 sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0) |
|
1144 filterwarnings('default', category=DeprecationWarning) |
1142 filterwarnings('default', category=DeprecationWarning) |
1145 cwcfg.load_cwctl_plugins() |
1143 cwcfg.load_cwctl_plugins() |
1146 try: |
1144 try: |
1147 CWCTL.run(args) |
1145 CWCTL.run(args) |
1148 except ConfigurationError as err: |
1146 except ConfigurationError as err: |