Skip to content

Commit

Permalink
Fix code issues
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 5, 2020
1 parent 0457875 commit f39a5b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/OtbAlgorithmsTest.py
Expand Up @@ -177,7 +177,7 @@ def test_OTBParameterChoiceExists(self):
alg_smoothing = OtbAlgorithm('Image Filtering', 'Smoothing', os.path.join(self.descrFolder, 'Smoothing.txt'))
found = False
for param in alg_smoothing.parameterDefinitions():
## print (param.name(), param.type())
# print (param.name(), param.type())
if param.type() == 'OTBParameterChoice':
found = True
break
Expand Down
2 changes: 1 addition & 1 deletion scripts/symbol_xml2db.py
Expand Up @@ -66,7 +66,7 @@
for table in create_tables:
try:
c.execute(table)
print table
print(table)
except sqlite3.OperationalError as e:
pass
conn.commit()
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_cachemanager.py
Expand Up @@ -109,7 +109,7 @@ def getCachedImage(self, project, request, key):
with open(os.path.join(self._tile_cache_dir, m.hexdigest() + ".png"), "rb") as f:
statusOK = img.loadFromData(f.read())
if not statusOK:
print("Could not read or find the contents document. Error at line %d, column %d:\n%s" % (errorLine, errorColumn, errorStr))
print("Could not read or find the contents document.")
return QByteArray()

ba = QByteArray()
Expand Down

0 comments on commit f39a5b6

Please sign in to comment.