From 303359e8b1670a22446b189c5c147a4e3b2403d1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 4 Nov 2010 09:34:04 +0000 Subject: [PATCH] refix --- lib/core/replication.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/core/replication.py b/lib/core/replication.py index d69851995..c79a21696 100644 --- a/lib/core/replication.py +++ b/lib/core/replication.py @@ -15,13 +15,6 @@ class Replication: replication purposes. """ - # sqlite data types - NULL = DataType('NULL') - INTEGER = DataType('INTEGER') - REAL = DataType('REAL') - TEXT = DataType('TEXT') - BLOB = DataType('BLOB') - def __init__(self, dbpath): self.dbpath = dbpath self.connection = sqlite3.connect(dbpath) @@ -89,3 +82,10 @@ class Replication: def __del__(self): self.cursor.close() self.connection.close() + + # sqlite data types + NULL = DataType('NULL') + INTEGER = DataType('INTEGER') + REAL = DataType('REAL') + TEXT = DataType('TEXT') + BLOB = DataType('BLOB')