|
5 | 5 | import threading |
6 | 6 | import unittest |
7 | 7 |
|
8 | | -# from .common import skip_python3 |
9 | | -# |
10 | | -# skip_python3() |
11 | | - |
12 | | -# os.environ['BITMESSAGE_HOME'] = tempfile.gettempdir() |
13 | | -# from pybitmessage.helper_sql import ( |
14 | | -# sqlQuery, sql_ready, sqlStoredProcedure, SqlBulkExecute, sqlExecuteScript, sqlExecute) # noqa:E402 |
15 | | -from pybitmessage.class_sqlThread import sqlThread, UpgradeDB, connection_build # noqa:E402 |
16 | | -from pybitmessage.addresses import encodeAddress # noqa:E402 |
17 | 8 |
|
18 | | -# try: |
19 | | -# os.environ['BITMESSAGE_HOME'] = tempfile.gettempdir() |
20 | | -# from pybitmessage.helper_sql import ( |
21 | | -# sqlQuery, sql_ready, sqlStoredProcedure, SqlBulkExecute, sqlExecuteScript, sqlExecute) # noqa:E402 |
22 | | -# from pybitmessage.class_sqlThread import sqlThread, UpgradeDB # noqa:E402 |
23 | | -# from pybitmessage.addresses import encodeAddress # noqa:E402 |
24 | | -# except: |
25 | | -# from ..helper_sql import sqlStoredProcedure, sql_ready, sqlExecute, SqlBulkExecute, sqlQuery, sqlExecuteScript # noqa:E402 |
26 | | -# from ..class_sqlThread import (sqlThread, UpgradeDB) # noqa:E402 |
27 | | -# from ..addresses import encodeAddress # noqa:E402 |
28 | | -# from ..helper_sql import sqlStoredProcedure, sql_ready, sqlExecute, SqlBulkExecute, sqlQuery, sqlExecuteScript # noqa:E402 |
29 | | -# from ..class_sqlThread import (sqlThread, UpgradeDB) # noqa:E402 |
30 | | -# from ..addresses import encodeAddress # noqa:E402 |
| 9 | +os.environ['BITMESSAGE_HOME'] = tempfile.gettempdir() |
| 10 | +from pybitmessage.class_sqlThread import sqlThread # noqa:E402 |
| 11 | +from pybitmessage.addresses import encodeAddress # noqa:E402 |
31 | 12 |
|
32 | 13 |
|
33 | 14 | def filter_table_column(schema, column): |
|
0 commit comments