at-spi r1010 - trunk/pyatspi



Author: eitani
Date: Thu Apr 24 18:43:13 2008
New Revision: 1010
URL: http://svn.gnome.org/viewvc/at-spi?rev=1010&view=rev

Log:
* registry.py (Registry.__call__): Make extra argument a keyword,
so that __call__ could be called with no arguments.


Modified:
   trunk/pyatspi/ChangeLog
   trunk/pyatspi/registry.py

Modified: trunk/pyatspi/registry.py
==============================================================================
--- trunk/pyatspi/registry.py	(original)
+++ trunk/pyatspi/registry.py	Thu Apr 24 18:43:13 2008
@@ -314,7 +314,7 @@
     else:
       self.dev = None
 
-  def __call__(self, reg):
+  def __call__(self, reg=None):
     '''
     @return: This instance of the registry. If we are passed a remote registry
     instance for the first time, add it to our instance, and get a device event



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]