refactor: remove unused python2 code, optimize imports

This commit is contained in:
jar3b
2020-02-19 01:29:08 +03:00
parent d03aa0a78c
commit 966bec093f
21 changed files with 15 additions and 71 deletions

View File

@@ -1,8 +1,5 @@
# -*- coding: utf-8 -*-
from traceback import format_exc
import psycopg2.extras
from traceback import format_exc
from aore.miscutils.exceptions import FiasException

View File

@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
class DbSchema:
def __init__(self, name, fieldlist, unique_key, xmltag):
self.tablename = name
@@ -29,4 +26,3 @@ db_shemas['AOTRIG'] = \
None)
allowed_tables = ["ADDROBJ", "SOCRBASE"]