--- a/devtools/fill.py Wed Sep 16 11:28:07 2015 +0200
+++ b/devtools/fill.py Wed Sep 16 13:57:21 2015 +0200
@@ -27,6 +27,7 @@
from datetime import datetime, date, time, timedelta
from decimal import Decimal
+from six import add_metaclass
from six.moves import range
from logilab.common import attrdict
@@ -262,8 +263,10 @@
setattr(_ValueGenerator, attrname, attrvalue)
return type.__new__(mcs, name, bases, classdict)
+
+@add_metaclass(autoextend)
class ValueGenerator(_ValueGenerator):
- __metaclass__ = autoextend
+ pass
def _default_choice_func(etype, attrname):