rpms/dogtail/FC-5 dogtail-skip-None-children.patch, NONE, 1.1 dogtail.spec, 1.2, 1.3

Zack Cerza (zmc) fedora-extras-commits at redhat.com
Mon Jun 19 19:01:20 UTC 2006


Author: zmc

Update of /cvs/extras/rpms/dogtail/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23318

Modified Files:
	dogtail.spec 
Added Files:
	dogtail-skip-None-children.patch 
Log Message:
Added dogtail-skip-None-children.patch


dogtail-skip-None-children.patch:

--- NEW FILE dogtail-skip-None-children.patch ---
--- dogtail-0.5.1/dogtail/tree.py	2006-02-24 14:50:52.000000000 -0500
+++ dogtail-0.5.1/dogtail/tree.py	2006-06-19 12:37:01.100841000 -0400
@@ -418,7 +418,10 @@
 			if self.__hideChildren: raise AttributeError, attr
 			children = []
 			for i in xrange (self.__accessible.getChildCount ()):
-				children.append (Node (self.__accessible.getChildAtIndex (i)))
+ 				a = self.__accessible.getChildAtIndex (i)
+ 				# Workaround to GNOME bug #321273
+ 				# http://bugzilla.gnome.org/show_bug.cgi?id=321273
+ 				if a is not None: children.append (Node (a))
 			# Attributes from the Hypertext object
 			try:
 				for i in range(self.__hypertext.getNLinks()):


Index: dogtail.spec
===================================================================
RCS file: /cvs/extras/rpms/dogtail/FC-5/dogtail.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dogtail.spec	17 Apr 2006 17:07:01 -0000	1.2
+++ dogtail.spec	19 Jun 2006 19:01:16 -0000	1.3
@@ -1,7 +1,7 @@
 Summary: GUI test tool and automation framework
 Name: dogtail
 Version: 0.5.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPL
 Group: User Interface/X
 URL: http://people.redhat.com/zcerza/dogtail/
@@ -15,6 +15,7 @@
 Requires: rpm-python
 Requires: ImageMagick
 Requires: Xvfb
+Patch0: dogtail-skip-None-children.patch
 
 %description
 GUI test tool and automation framework that uses assistive technologies to 
@@ -23,6 +24,7 @@
 %prep
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %setup -q
+%patch0 -p1
 
 %build
 python ./setup.py build
@@ -61,6 +63,9 @@
 %doc examples/
 
 %changelog
+* Mon Jun 19 2006 Zack Cerza <zcerza at redhat.com> - 0.5.4-4
+- Add dogtail-skip-None-children.patch to fix Fedora bug #195886 .
+
 * Mon Apr 17 2006 Zack Cerza <zcerza at redhat.com> - 0.5.1-3
 - Fix the URL field.
 




More information about the scm-commits mailing list