From 968eb8c1d8703c3d5c84f2162eae365b930c008d Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 23 Jun 2016 05:33:20 +0000 Subject: Backend: moved methods into call module --- wqflask/base/data_set.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'wqflask/base') diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index a7b6e402..02018dd3 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -114,9 +114,10 @@ def create_datasets_list(): for dataset_type in type_dict: query = "SELECT Name FROM {}".format(type_dict[dataset_type]) for result in g.db.execute(query).fetchall(): - #The query at the beginning of this function isn't necessary here, but still would - #rather just reuse it - #logger.debug("type: {}\tname: {}".format(dataset_type, result.Name)) + #The query at the beginning of this function isn't + #necessary here, but still would rather just reuse + #it logger.debug("type: {}\tname: + #{}".format(dataset_type, result.Name)) dataset = create_dataset(result.Name, dataset_type) datasets.append(dataset) -- cgit v1.2.3