inmemory: add % parameter to formating string

Change-Id: I1f50db4d0c82bedc7803160908b714e174746e43
This commit is contained in:
xiaozhuangqing 2016-08-29 19:57:07 +08:00
parent fd132eec67
commit 25d53a9b48

View File

@ -114,7 +114,7 @@ class MTable(object):
else:
raise aodh.NotImplementedError(
"%s filter is not implemented, "
"you may want to add it!")
"you may want to add it!" % filter)
for k in sorted(rows)[:limit]:
yield k, rows[k]