Skip to content

Commit b7af888

Browse files
committed
syntax fixes
1 parent 2d3be9a commit b7af888

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pmda/leaflet.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
"""
2222
from __future__ import absolute_import, division
23+
import warnings
2324

2425
import numpy as np
2526
import dask.bag as db
@@ -265,7 +266,7 @@ def run(self,
265266
if n_jobs == -1:
266267
if scheduler == 'multiprocessing':
267268
n_jobs = cpu_count()
268-
else
269+
else:
269270
try:
270271
from dask import distributed
271272
if isinstance(scheduler, distributed.Client):

0 commit comments

Comments
 (0)