From 2649ed13147581eea34bf29253e6f04d4ab75dfd Mon Sep 17 00:00:00 2001 From: Patrick Peglar Date: Wed, 15 Aug 2018 10:38:34 +0100 Subject: [PATCH] Codestyle fix. --- lib/iris/fileformats/pp_save_rules.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/iris/fileformats/pp_save_rules.py b/lib/iris/fileformats/pp_save_rules.py index 8940cdc960..1896e9a11c 100644 --- a/lib/iris/fileformats/pp_save_rules.py +++ b/lib/iris/fileformats/pp_save_rules.py @@ -183,8 +183,9 @@ def _general_time_rules(cube, pp): cm.intervals[0].endswith('hour')): pp.lbtim.ia = int(cm.intervals[0][:-5]) - elif ('clim_season' in cube.cell_methods[-1].coord_names - and fp_coord is not None and fp_coord.has_bounds()): + elif ('clim_season' in cube.cell_methods[-1].coord_names and + fp_coord is not None and fp_coord.has_bounds()): + # Climatological time means. if lower_bound_yr == upper_bound_yr: # Climatological time mean - single year.