Permalink
Browse files

Return string rather than int from sortKey, since other storages seem…

… to return strings and Python 3 gets mad if you compare ints to strings.
  • Loading branch information...
1 parent f0619bc commit 2b9f1a0afed679f0c5de5c529f4efa38d7e87ee1 @chrisrossi chrisrossi committed Sep 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 acidfs/__init__.py
View
@@ -510,7 +510,7 @@ def tpc_abort(self, tx):
self.close()
def sortKey(self):
- return 0
+ return type(self).__name__
def close(self):
self.closed = True

0 comments on commit 2b9f1a0

Please sign in to comment.