Commit 5f421ccd authored by Jorge S. Mendes de Jesus's avatar Jorge S. Mendes de Jesus
Browse files

gunicorn as requirement for OC

parent adbe2262
"""Data filtering based on database of list operations""" """Data filtering based on database of list operations"""
import re,os,pprint,time import re,os,pprint,time
from random import shuffle from random import shuffle
from util import get_db_connection from .util import get_db_connection
def filter_countries(countryList,fileList): def filter_countries(countryList,fileList):
"""It searches the file list for the country codes. It only searches on basename """It searches the file list for the country codes. It only searches on basename
......
from flask import request from flask import request
from collections import defaultdict from collections import defaultdict
import re import re
from secret import DB from .secret import DB
import psycopg2,psycopg2.extras import psycopg2,psycopg2.extras
def get_db_connection(): def get_db_connection():
......
...@@ -14,4 +14,4 @@ python-dateutil==2.6.1 ...@@ -14,4 +14,4 @@ python-dateutil==2.6.1
pytz==2017.3 pytz==2017.3
six==1.11.0 six==1.11.0
Werkzeug==0.13 Werkzeug==0.13
#gunicorn==19.7.1 gunicorn==19.7.1
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment