From 5b38f316531ea7d8162e361ed07aa8db3f0f61ae Mon Sep 17 00:00:00 2001 From: Markus Date: Wed, 23 Sep 2020 17:43:39 +0200 Subject: [PATCH] PEP8: fix E126 continuation line over-indented for hanging indent --- v.divide.training_validation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v.divide.training_validation.py b/v.divide.training_validation.py index e36d394..360bf4d 100644 --- a/v.divide.training_validation.py +++ b/v.divide.training_validation.py @@ -59,7 +59,7 @@ def cleanup(): columns_existing = grass.vector_columns(options['input']).keys() if newcol in columns_existing: grass.run_command( - 'v.db.dropcolumn', map=options['input'], columns=newcol) + 'v.db.dropcolumn', map=options['input'], columns=newcol) def extract_data(input, output, cats, value): @@ -73,7 +73,7 @@ def extract_data(input, output, cats, value): for i in range(0, len(cats), n): cats_list = cats[i:i+n] grass.run_command( - 'v.db.update', + 'v.db.update', where='cat IN (%s)' % (','.join(cats_list)), map=input, column=newcol, value=value, quiet=True) grass.percent(i+n, len(cats), 1)