devtools/devctl.py
changeset 7990 a673d1d9a738
parent 7752 df91baa5b837
child 8190 2a3c1b787688
child 8247 65b0d2587fb5
--- a/devtools/devctl.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/devtools/devctl.py	Fri Oct 21 14:32:37 2011 +0200
@@ -263,10 +263,7 @@
                 objid = '%s_%s' % (reg, obj.__regid__)
                 if objid in done:
                     break
-                try: # XXX < 3.6 bw compat
-                    pdefs = obj.property_defs
-                except AttributeError:
-                    pdefs = getattr(obj, 'cw_property_defs', {})
+                pdefs = getattr(obj, 'cw_property_defs', {})
                 if pdefs:
                     yield objid
                     done.add(objid)