#!/usr/bin/env python
import sys
import logging
import os
logging.basicConfig(stream=sys.stderr)
file_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(0, file_dir)
from main import app as application
from main import db

[((58, 96), 'logging.basicConfig', 'logging.basicConfig', ([], {'stream': 'sys.stderr'}), '(stream=sys.stderr)\n', (77, 96), False, 'import logging\n'), ((152, 180), 'sys.path.insert', 'sys.path.insert', (['(0)', 'file_dir'], {}), '(0, file_dir)\n', (167, 180), False, 'import sys\n'), ((124, 150), 'os.path.realpath', 'os.path.realpath', (['__file__'], {}), '(__file__)\n', (140, 150), False, 'import os\n')]