Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 303359e

Browse files
committed
refix
1 parent efe75aa commit 303359e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/core/replication.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ class Replication:
1515
replication purposes.
1616
"""
1717

18-
# sqlite data types
19-
NULL = DataType('NULL')
20-
INTEGER = DataType('INTEGER')
21-
REAL = DataType('REAL')
22-
TEXT = DataType('TEXT')
23-
BLOB = DataType('BLOB')
24-
2518
def __init__(self, dbpath):
2619
self.dbpath = dbpath
2720
self.connection = sqlite3.connect(dbpath)
@@ -89,3 +82,10 @@ def dropTable(self, tblname):
8982
def __del__(self):
9083
self.cursor.close()
9184
self.connection.close()
85+
86+
# sqlite data types
87+
NULL = DataType('NULL')
88+
INTEGER = DataType('INTEGER')
89+
REAL = DataType('REAL')
90+
TEXT = DataType('TEXT')
91+
BLOB = DataType('BLOB')

0 commit comments

Comments
 (0)