From 887cee16ce0c8c49ca923ab78fc54ff7fdf64c02 Mon Sep 17 00:00:00 2001 From: Johannes Heckel Date: Tue, 22 Mar 2011 17:36:41 +0000 Subject: [PATCH] Fixed bug in livetest.py that caused configs with a port number to fail. A trailing comma was causing a tuple to be returned instead of an integer when the port number was parsed from the config file. --- livetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livetest.py b/livetest.py index c5d2450..f7a3d70 100755 --- a/livetest.py +++ b/livetest.py @@ -473,7 +473,7 @@ def parse_config_file(path): assert parser.sections() == [section], 'Only expected a [main] section' try: - port = parser.getint(section, 'port'), + port = parser.getint(section, 'port') except NoOptionError: port = None -- 2.43.0