updated for py3 port
This commit is contained in:
1 parent
bc090ca461
commit
76a9ac99e2
1 file changed
+7
-8
@@ -1,11 +1,10 @@
|
||||
DB_type = "plaintext"#"plaintext" or "mondoDB"
|
||||
|
||||
DB_type = "plaintext" # "plaintext" or future backends
|
||||
|
||||
if DB_type == "plaintext":
|
||||
from database import Database
|
||||
elif DB_type == "mondoDB":#not yet implemented
|
||||
from database import Database#hue
|
||||
from database import Database
|
||||
elif DB_type == "mondoDB": # legacy placeholder; not implemented
|
||||
from database import Database
|
||||
else:
|
||||
import sys
|
||||
print "Unsupported database type \"%s\"" % DB_type
|
||||
sys.exit()
|
||||
import sys
|
||||
print('Unsupported database type "%s"' % DB_type)
|
||||
sys.exit(1)
|
||||
Reference in new issue
Block a user
