dogtail r369 - in trunk: . dogtail
- From: zcerza svn gnome org
- To: svn-commits-list gnome org
- Subject: dogtail r369 - in trunk: . dogtail
- Date: Mon, 14 Jan 2008 22:08:05 +0000 (GMT)
Author: zcerza
Date: Mon Jan 14 22:08:05 2008
New Revision: 369
URL: http://svn.gnome.org/viewvc/dogtail?rev=369&view=rev
Log:
* dogtail/tree.py: Fix a stupid error in the Node.dead check.
Modified:
trunk/ChangeLog
trunk/dogtail/tree.py
Modified: trunk/dogtail/tree.py
==============================================================================
--- trunk/dogtail/tree.py (original)
+++ trunk/dogtail/tree.py Mon Jan 14 22:08:05 2008
@@ -202,7 +202,7 @@
if self.roleName == 'invalid': return True
n = self.role
n = self.name
- n = self[0]
+ if len(self) > 0: n = self[0]
except (LookupError, COMM_FAILURE, OBJECT_NOT_EXIST): return True
return False
dead = property(_getDead, doc = "Is the node dead (defunct) ?")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]