Skip to content

Commit 430845e

Browse files
committedJun 6, 2019
Remove debug stuff
1 parent 6b8aa01 commit 430845e

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed
 

‎src/auth/basic/qgsauthbasicmethod.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,6 @@ bool QgsAuthBasicMethod::updateDataSourceUriItems( QStringList &connectionItems,
127127
{
128128
caparam = "sslrootcert='" + caFilePath + "'";
129129
}
130-
QFile f( caFilePath );
131-
if ( !f.open( QFile::ReadOnly | QFile::Text ) )
132-
{
133-
qWarning() << "Could not open ca cert file!!";
134-
}
135-
QTextStream in( &f );
136-
qWarning() << caparam;
137-
qWarning() << f.size() << in.readAll();
138130
}
139131

140132
// Branch for OGR
@@ -290,7 +282,6 @@ bool QgsAuthBasicMethod::updateDataSourceUriItems( QStringList &connectionItems,
290282
else
291283
{
292284
connectionItems.append( caparam );
293-
qWarning() << QStringLiteral( "Connection items after appending %1" ).arg( connectionItems.join( "&" ) );
294285
}
295286
}
296287
}

‎tests/src/python/test_authmanager_password_postgres.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ def setUpClass(cls):
100100
cls.certsdata_path = os.path.join(unitTestDataPath('auth_system'), 'certs_keys')
101101
cls.sslrootcert_path = os.path.join(cls.certsdata_path, 'chains_subissuer-issuer-root_issuer2-root2.pem')
102102

103-
def printMessage(tag, msg, level):
104-
with open('/tmp/fmt.log', 'a') as f:
105-
f.write('{}: {}'.format(tag, msg))
106-
QgsApplication.instance().messageLog().messageReceived.connect(printMessage)
107-
108103
def setUp(self):
109104
"""Run before each test."""
110105
pass

0 commit comments

Comments
 (0)
Please sign in to comment.