1.1 --- a/micropython/common.py Sun Jun 03 19:49:39 2012 +0200
1.2 +++ b/micropython/common.py Sun Jun 03 19:51:38 2012 +0200
1.3 @@ -360,11 +360,11 @@
1.4 objtypes = objtable.all_possible_objects_plus_status(attrnames)
1.5 if not objtypes:
1.6 print >>sys.stderr, "Warning: usage in %r for %r finds no object supporting all attributes %r" % (
1.7 - unit_name, name, attrnames)
1.8 + unit_name, name, attrnames.keys())
1.9 objtypes = objtable.any_possible_objects_plus_status(attrnames)
1.10 if not objtypes:
1.11 print >>sys.stderr, "Warning: usage in %r for %r finds no object supporting any attributes %r" % (
1.12 - unit_name, name, attrnames)
1.13 + unit_name, name, attrnames.keys())
1.14
1.15 all_objtypes.update(objtypes)
1.16