Skip to content

Commit 7e2c09d

Browse files
committed
flake8 formatting fix
1 parent e987fc0 commit 7e2c09d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/confParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def parse_cmd_args(argv):
9595
help='Host name or ip address of the ZIMon collector (Default: 127.0.0.1) \
9696
NOTE: Per default ZIMon does not accept queries from remote machines. \
9797
To run the bridge from outside of the ZIMon collector, you need to modify ZIMon queryinterface settings (\'ZIMonCollector.cfg\')')
98-
parser.add_argument('-P', '--serverPort', action="store", type=int, choices=[9084, 9094], default=9084,
98+
parser.add_argument('-P', '--serverPort', action="store", type=int, choices=[9084, 9094], default=9084,
9999
help='ZIMon collector port number (Default: 9084) \
100100
NOTE: In some environments, for better bridge performance the usage of the multi-threaded port 9094 could be helpful.\
101101
In this case make sure the \'query2port = \"9094\"\' is enabled in the ZIMon queryinterface settings (\'ZIMonCollector.cfg\')')

source/zimonGrafanaIntf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def validateCollectorConf(args, logger):
568568
# foundPorts = SensorConfig.getCollectorPorts(logger)
569569
# if foundPorts and str(args.get('serverPort')) not in foundPorts:
570570
# raise Exception("Invalid serverPort specified. Try with: %s" % str(foundPorts))
571-
#elif foundPorts[1] and not (args.get('serverPort') == int(foundPorts[1])):
571+
# elif foundPorts[1] and not (args.get('serverPort') == int(foundPorts[1])):
572572
# args['serverPort'] = int(foundPorts[1])
573573
# logger.info(MSG['Query2port'].format(args['serverPort']))
574574

0 commit comments

Comments
 (0)