Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some tabs used for indentation. #1779

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove some tabs used for indentation.
  • Loading branch information
QuLogic committed Sep 11, 2015
commit 635254ec78178d7e239d5bc187e14f579c2911ea
14 changes: 7 additions & 7 deletions lib/iris/fileformats/pp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1972,10 +1972,10 @@ def _convert_constraints(constraints):
unhandled_constraints = False

def _make_func(stashobj):
"""
Provides unique name-space for each lambda function's stashobj
variable.
"""
"""
Provides unique name-space for each lambda function's stashobj
variable.
"""
return lambda stash: stash==stashobj

for con in constraints:
Expand All @@ -1989,9 +1989,9 @@ def _make_func(stashobj):
call_func = stashobj
elif isinstance(stashobj, (basestring, STASH)):
call_func = _make_func(stashobj)
else:
raise TypeError("STASH constraints should be either a"
" callable, string or STASH object")
else:
raise TypeError("STASH constraints should be either a"
" callable, string or STASH object")

if not 'stash' in pp_constraints:
pp_constraints['stash'] = [call_func]
Expand Down