From 53af01c95abe622c0490b43c12439a04aa449509 Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Wed, 28 Oct 2009 06:15:15 +0000 Subject: addon test extension to check interface contraints --- (limited to 'addons/disablewidget.py') diff --git a/addons/disablewidget.py b/addons/disablewidget.py index fd88303..8aad915 100644 --- a/addons/disablewidget.py +++ b/addons/disablewidget.py @@ -21,14 +21,13 @@ from ..services import ObjectStore class DisableWidgetAction(Action): target = TStringProperty("0") - def __init__(self, target): + def __init__(self, target=None): """Constructor @param target target treeish """ Action.__init__(self) if target is not None: self.target = target - self._widget = None def do(self): """Action do""" -- cgit v0.9.1