aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common')
-rw-r--r--scripts/common/__init__.py2
-rw-r--r--scripts/common/postgres.py1
-rw-r--r--scripts/common/queue.py3
3 files changed, 4 insertions, 2 deletions
diff --git a/scripts/common/__init__.py b/scripts/common/__init__.py
index f97635b..83f1b66 100644
--- a/scripts/common/__init__.py
+++ b/scripts/common/__init__.py
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
''' common functions and stuff '''
+import logging
import os
import sys
-import logging
from datetime import datetime
QUEUE = bool(os.environ.get('el_QUEUE', False))
diff --git a/scripts/common/postgres.py b/scripts/common/postgres.py
index bff4a84..efa4b5a 100644
--- a/scripts/common/postgres.py
+++ b/scripts/common/postgres.py
@@ -3,6 +3,7 @@
import os
import sys
+
import psycopg
pg_db = os.environ['el_pg_db']
diff --git a/scripts/common/queue.py b/scripts/common/queue.py
index 35abeaa..4510d55 100644
--- a/scripts/common/queue.py
+++ b/scripts/common/queue.py
@@ -1,9 +1,10 @@
#!/usr/bin/env python3
''' common functions and stuff '''
+import logging
import os
import pickle
-import logging
+
from litequeue import SQLQueue
QUEUE_DB = os.environ.get('el_QUEUE_db', 'litequeue.db')