Skip to content

Commit

Permalink
Fix PEP style ( though I prefer the previous indentation...)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5bce7bf)
  • Loading branch information
duncanwp committed May 24, 2018
1 parent 2e31ba3 commit fd5add6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/iris/coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,7 @@ def serialize(x):

# Determine the right array method for stacking
stack_method = da.stack if self.has_bounds() \
and is_lazy_data(self.core_bounds()) \
else np.stack
and is_lazy_data(self.core_bounds()) else np.stack

item = stack_method(self.core_bounds()) if self.has_bounds() \
else self.core_points()
Expand Down

0 comments on commit fd5add6

Please sign in to comment.