Skip to content

Commit

Permalink
Use simplefileloader for java
Browse files Browse the repository at this point in the history
Still not 100% for java.
  • Loading branch information
jamesls committed Jul 14, 2013
1 parent 086a7b7 commit 5fd12d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions semidbm/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ def open(filename, flag='r', mode=0o666, verify_checksums=False):
else:
renamer = _Renamer()
if sys.platform.startswith('java'):
# TODO: handle me
raise Exception("Handle me")
from semidbm.loaders.simpleload import SimpleFileLoader
data_loader = SimpleFileLoader()
else:
from semidbm.loaders.mmapload import MMapLoader
data_loader = MMapLoader()
Expand Down
1 change: 0 additions & 1 deletion test_semidbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import unittest

import semidbm
from semidbm.loaders.mmapload import MMapLoader
from semidbm.loaders.simpleload import SimpleFileLoader


Expand Down

0 comments on commit 5fd12d2

Please sign in to comment.