Skip to content

Commit 4f415c5

Browse files
committedMay 31, 2018
typo
1 parent 6460209 commit 4f415c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎python/plugins/db_manager/db_plugins/postgis/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(self, uri):
6666
try:
6767
self.connection = psycopg2.connect(expandedConnInfo)
6868
except self.connection_error_types() as e:
69-
# get credentials if cached or assking to the user no more than 3 times
69+
# get credentials if cached or asking to the user no more than 3 times
7070
err = unicode(e)
7171
uri = self.uri()
7272
conninfo = uri.connectionInfo(False)

‎src/providers/postgres/qgspostgresconn.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ QgsPostgresConn::QgsPostgresConn( const QString &conninfo, bool readOnly, bool s
244244
fileName.remove( QStringLiteral( "'" ) );
245245
QFile file( fileName );
246246
// set minimal permission to allow removing on Win.
247-
// On linux and Mac if file is set with QFile::>ReadUser
248-
// does not create problem removin certs
247+
// On linux and Mac if file is set with QFile::ReadUser
248+
// does not create problem removing certs
249249
if ( !file.setPermissions( QFile::WriteOwner ) )
250250
{
251251
QString errorMsg = tr( "Cannot set WriteOwner permission to cert: %0 to allow removing it" ).arg( file.fileName() );

0 commit comments

Comments
 (0)