]> git.jsancho.org Git - mojodb.git/blobdiff - database.py
msgpack instead cPickle (for multiple platforms) and str instead unicode (thinking...
[mojodb.git] / database.py
index 1b378bf468c60cb0d7645261e57ce2c2ee467a22..ad1e1297050326cd6131313032d1874d08940dbe 100644 (file)
@@ -24,7 +24,7 @@ from collection import Collection
 class Database(object):
     def __init__(self, connection, db_name):
         self.connection = connection
-        self.db_name = unicode(db_name)
+        self.db_name = str(db_name)
 
     def __getattr__(self, table_name):
         return Collection(self, table_name)