From 32239fcd040d6188b31aac4fe09e8fb260cb0ff2 Mon Sep 17 00:00:00 2001 From: Carles Tena Date: Tue, 23 Jul 2019 15:20:40 +0200 Subject: [PATCH] PEP8 corrections --- hermesv3_bu/sectors/aviation_sector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermesv3_bu/sectors/aviation_sector.py b/hermesv3_bu/sectors/aviation_sector.py index a4e5f96..a9718fd 100755 --- a/hermesv3_bu/sectors/aviation_sector.py +++ b/hermesv3_bu/sectors/aviation_sector.py @@ -394,7 +394,7 @@ class AviationSector(Sector): self.airport_list_full = new_list new_list = [new_list[i * len(new_list) // self.comm.size: (i + 1) * len(new_list) // self.comm.size] - for i in range(self.comm.size)] + for i in range(self.comm.size)] for sublist in new_list: if len(sublist) == 0: raise ValueError("ERROR: The selected number of processors is to high. " + -- GitLab