mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
fix indentation
This commit is contained in:
parent
10f72cd762
commit
df248dbe93
@ -667,7 +667,7 @@ def create_xml_descriptors():
|
||||
except:
|
||||
logger.error("Unit test for command %s must be fixed: %s" % (available_app, traceback.format_exc()))
|
||||
else:
|
||||
logger.warning("%s (not custom app) is not in white list." % available_app)
|
||||
logger.warning("%s (not custom app) is not in white list." % available_app)
|
||||
# except Exception, e:
|
||||
# logger.error(traceback.format_exc())
|
||||
|
||||
@ -696,7 +696,7 @@ def create_html_description():
|
||||
if __name__ == "__main__":
|
||||
# Prepare the environment
|
||||
from qgis.core import QgsApplication
|
||||
|
||||
|
||||
app = QgsApplication([], True)
|
||||
QgsApplication.initQgis()
|
||||
|
||||
|
@ -480,6 +480,7 @@ def getTrainImagesClassifier(available_app, original_dom_document):
|
||||
the_list.append(split[key])
|
||||
return the_list
|
||||
|
||||
|
||||
def getTrainRegression(available_app, original_dom_document):
|
||||
"""
|
||||
Split by classifier (ann, dt, gbt, knn, libsvm, rf)
|
||||
@ -495,6 +496,7 @@ def getTrainRegression(available_app, original_dom_document):
|
||||
the_list.append(split[key])
|
||||
return the_list
|
||||
|
||||
|
||||
def getTrainVectorClassifier(available_app, original_dom_document):
|
||||
"""
|
||||
Split by classifier (ann, dt, gbt, knn, libsvm, rf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user