climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From good...@apache.org
Subject [03/11] climate git commit: Minor fixes to dataset_loader
Date Fri, 29 Jul 2016 18:31:40 GMT
Minor fixes to dataset_loader


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/bf5b6eba
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/bf5b6eba
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/bf5b6eba

Branch: refs/heads/master
Commit: bf5b6eba6251c54317693cc1df2a05e3e8401dfb
Parents: a3764c0
Author: Alex Goodman <agoodm@users.noreply.github.com>
Authored: Tue Jul 19 13:38:14 2016 -0700
Committer: Alex Goodman <agoodm@users.noreply.github.com>
Committed: Tue Jul 19 13:38:14 2016 -0700

----------------------------------------------------------------------
 ocw/dataset_loader.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/bf5b6eba/ocw/dataset_loader.py
----------------------------------------------------------------------
diff --git a/ocw/dataset_loader.py b/ocw/dataset_loader.py
index 719cb9b..d81f869 100644
--- a/ocw/dataset_loader.py
+++ b/ocw/dataset_loader.py
@@ -192,9 +192,9 @@ class DatasetLoader:
                 else:
                     self.target_datasets.append(output)
 
-    def _load(**kwargs):
+    def _load(self, **kwargs):
         '''
-        Generic dataset loading method
+        Generic dataset loading method.
         '''
         # Extract the data source
         data_source = kwargs.pop('data_source')


Mime
View raw message