flake8: E402 module level import not at top of file.

This commit is contained in:
Bas Couwenberg
2019-05-02 10:25:34 +02:00
committed by Dan Christian Bogos
parent f7452fd697
commit 33fa773a0b
4 changed files with 17 additions and 16 deletions

View File

@@ -3,14 +3,14 @@
# depends:
# ^ psycopg2 (debian: python-psycopg2)
import psycopg2
host = '127.0.0.1'
port = 5432
database = 'cgrates'
user = 'cgrates'
password = 'CGRateS.org'
import psycopg2
print('Connecting to PostgreSQL...')
cnx = psycopg2.connect(
host=host,