Skip to content

Commit e8b9545

Browse files
committed
indentation update
1 parent 8ea742a commit e8b9545

27 files changed

+55
-55
lines changed

python/plugins/db_manager/layer_preview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def _clear(self):
7676
if self.item is not None:
7777
## skip exception on RuntimeError fixes #6892
7878
try:
79-
self.disconnect(self.item, SIGNAL('aboutToChange'), self.setDirty)
79+
self.disconnect(self.item, SIGNAL('aboutToChange'), self.setDirty)
8080
except RuntimeError:
8181
pass
8282
self.item = None

python/plugins/processing/exampleprovider/ExampleAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ExampleAlgorithm(GeoAlgorithm):
4343
a new one just with just those features of the input layer that are
4444
selected.
4545
46-
It is meant to be used as an example of how to create your own
46+
It is meant to be used as an example of how to create your own
4747
algorithms and explain methods and variables used to do it. An algorithm
4848
like this will be available in all elements, and there is not need
4949
for additional work.

python/plugins/processing/exampleprovider/ExampleAlgorithmProvider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def getIcon(self):
8080
def _loadAlgorithms(self):
8181
'''Here we fill the list of algorithms in self.algs.
8282
This method is called whenever the list of algorithms should be updated.
83-
If the list of algorithms can change
83+
If the list of algorithms can change
8484
(for instance, if it contains algorithms from user-defined scripts and
8585
a new script might have been added), you should create the list again
8686
here.

python/plugins/processing/gui/ProcessingToolbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, iface):
6363
else:
6464
self.modeComboBox.setCurrentIndex(1)
6565
self.modeComboBox.currentIndexChanged.connect(self.modeHasChanged)
66-
66+
6767
self.searchBox.textChanged.connect(self.fillTree)
6868
self.algorithmTree.customContextMenuRequested.connect(self.showPopupMenu)
6969
self.algorithmTree.doubleClicked.connect(self.executeAlgorithm)

python/plugins/processing/saga/SagaAlgorithm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def processAlgorithm(self, progress):
181181
raise GeoAlgorithmExecutionException("SAGA folder is not configured.\nPlease configure it before running SAGA algorithms.")
182182
commands = list()
183183
self.exportedLayers = {}
184-
184+
185185
self.preProcessInputs()
186186

187187
#1: Export rasters to sgrd and vectors to shp
@@ -309,7 +309,7 @@ def processAlgorithm(self, progress):
309309
else:
310310
commands.append("libio_gdal 1 -GRIDS \"" + filename2 + "\" -FORMAT 1 -TYPE 0 -FILE \"" + filename + "\"");
311311

312-
312+
313313
#4 Run SAGA
314314
commands = self.editCommands(commands)
315315
SagaUtils.createSagaBatchJobFileFromSagaCommands(commands)
@@ -332,7 +332,7 @@ def preProcessInputs(self):
332332
if hasattr(module, 'preProcessInputs'):
333333
func = getattr(module,'preProcessInputs')
334334
func(self)
335-
335+
336336
def editCommands(self, commands):
337337
name = self.commandLineName()[len('saga:'):]
338338
try:

python/plugins/processing/saga/ext/supervisedclassification.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
from processing.tests.TestData import table
2727

28-
def editCommands(commands):
28+
def editCommands(commands):
2929
commands[-3] = commands[-3] + " -STATS " + table()
30-
return commands
31-
30+
return commands
31+
3232

src/app/qgisapp.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6192,24 +6192,24 @@ void QgisApp::duplicateLayers( QList<QgsMapLayer *> lyrList )
61926192
if ( unSppType.isEmpty() && dupLayer && !dupLayer->isValid() )
61936193
{
61946194
msgBars.append( new QgsMessageBarItem(
6195-
tr( "Duplicate layer: " ),
6196-
tr( "%1 (duplication resulted in invalid layer)" ).arg( selectedLyr->name() ) ,
6197-
QgsMessageBar::WARNING,
6198-
0,
6199-
mInfoBar ) );
6195+
tr( "Duplicate layer: " ),
6196+
tr( "%1 (duplication resulted in invalid layer)" ).arg( selectedLyr->name() ) ,
6197+
QgsMessageBar::WARNING,
6198+
0,
6199+
mInfoBar ) );
62006200
continue;
62016201
}
62026202

62036203
if ( !unSppType.isEmpty() || !dupLayer )
62046204
{
62056205
msgBars.append( new QgsMessageBarItem(
6206-
tr( "Duplicate layer: " ),
6207-
tr( "%1 (%2 type unsupported)" )
6208-
.arg( selectedLyr->name() )
6209-
.arg( !unSppType.isEmpty() ? QString( "'" ) + unSppType + "' " : "" ),
6210-
QgsMessageBar::WARNING,
6211-
0,
6212-
mInfoBar ) );
6206+
tr( "Duplicate layer: " ),
6207+
tr( "%1 (%2 type unsupported)" )
6208+
.arg( selectedLyr->name() )
6209+
.arg( !unSppType.isEmpty() ? QString( "'" ) + unSppType + "' " : "" ),
6210+
QgsMessageBar::WARNING,
6211+
0,
6212+
mInfoBar ) );
62136213
continue;
62146214
}
62156215

src/app/qgsabout.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ void QgsAbout::setLicence()
201201
#endif
202202
if ( licenceFile.open( QIODevice::ReadOnly ) )
203203
{
204-
QString content = licenceFile.readAll();
205-
txtLicense->setText(content);
204+
QString content = licenceFile.readAll();
205+
txtLicense->setText( content );
206206
}
207207
}
208208

src/app/qgsmaptooladdfeature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
174174
{
175175
//problem with coordinate transformation
176176
QMessageBox::information( 0, tr( "Coordinate transform error" ),
177-
tr( "Cannot transform the point to the layers coordinate system" ) );
177+
tr( "Cannot transform the point to the layers coordinate system" ) );
178178
return;
179179
}
180180

src/app/qgsmaptooladdpart.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void QgsMapToolAddPart::canvasReleaseEvent( QMouseEvent * e )
9292
//add point to list and to rubber band
9393
if ( e->button() == Qt::LeftButton )
9494
{
95-
int error = addVertex( e->pos() );
95+
int error = addVertex( e->pos() );
9696
if ( error == 1 )
9797
{
9898
QgsDebugMsg( "current layer is not a vector layer" );

0 commit comments

Comments
 (0)