You need to sign in or sign up before continuing.
Commit 5713dcd1 authored by Yuxin Wu's avatar Yuxin Wu

Forgot to add git hooks and got lint error again!...

parent ee4d83f9
...@@ -168,6 +168,7 @@ class LMDBDataPoint(MapData): ...@@ -168,6 +168,7 @@ class LMDBDataPoint(MapData):
args, kwargs: Same as in :class:`LMDBData`. args, kwargs: Same as in :class:`LMDBData`.
""" """
ds = LMDBData(*args, **kwargs) ds = LMDBData(*args, **kwargs)
def f(dp): def f(dp):
return loads(dp[1]) return loads(dp[1])
super(LMDBDataPoint, self).__init__(ds, f) super(LMDBDataPoint, self).__init__(ds, f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment