Hello community,

here is the log from the commit of package ldtp for openSUSE:Factory
checked in at Mon May 2 17:00:12 CEST 2011.



--------
--- ldtp/ldtp.changes   2011-01-07 19:41:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/ldtp/ldtp.changes      2011-03-21 
17:23:17.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Mar 21 17:21:15 CET 2011 - [email protected]
+
+- Update to version 2.1.1:
+  + lp#710545: Fix committed to resolve getobjectlist('Main Menu')
+    of alacarte app.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  ldtp-2.1.0.tar.bz2

New:
----
  ldtp-2.1.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ldtp.spec ++++++
--- /var/tmp/diff_new_pack.Dc0VJp/_old  2011-05-02 16:59:50.000000000 +0200
+++ /var/tmp/diff_new_pack.Dc0VJp/_new  2011-05-02 16:59:50.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package ldtp (Version 2.1.0)
+# spec file for package ldtp
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -19,7 +19,7 @@
 
 
 Name:           ldtp
-Version:        2.1.0
+Version:        2.1.1
 Release:        1
 License:        GPLv2+ ; LGPLv2.1+
 Summary:        Linux Desktop Testing Project (LDTP)

++++++ ldtp-2.1.0.tar.bz2 -> ldtp-2.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ldtp-2.1.0/PKG-INFO new/ldtp-2.1.1/PKG-INFO
--- old/ldtp-2.1.0/PKG-INFO     2011-01-04 03:00:26.000000000 +0100
+++ new/ldtp-2.1.1/PKG-INFO     2011-02-02 02:47:35.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: ldtp
-Version: 2.1.0
+Version: 2.1.1
 Summary: Linux Desktop Testing Project Version 2
 Home-page: http://ldtp.freesktop.org
 Author: Nagappan Alagappan
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ldtp-2.1.0/ldtpd/utils.py 
new/ldtp-2.1.1/ldtpd/utils.py
--- old/ldtp-2.1.0/ldtpd/utils.py       2011-01-04 00:00:02.000000000 +0100
+++ new/ldtp-2.1.1/ldtpd/utils.py       2011-01-07 05:48:51.000000000 +0100
@@ -341,8 +341,19 @@
                 if relationType == pyatspi.RELATION_LABELLED_BY or \
                         relationType == pyatspi.RELATION_CONTROLLED_BY:
                     # Get associated label
-                    label_acc = rel.getTarget(i)
-                    break
+                    try:
+                        label_acc = rel.getTarget(i)
+                        break
+                    except AttributeError:
+                        # With "alacarte" window, doing getbojectlist('Main 
Menu')
+                        # raise exception
+                        #   File 
"/usr/lib/pymodules/python2.6/pyatspi/accessible.py", line 657, in getTarget
+                        #    target = target._narrow(Accessibility.Accessible)
+                        # exceptions.AttributeError: 'NoneType' object has no 
attribute '_narrow'
+                        # Let us not throw exception, instead continue
+                        if self._ldtp_debug:
+                            print traceback.format_exc()
+                        continue
         role = acc.getRole()
         if role == pyatspi.ROLE_FRAME or role == pyatspi.ROLE_DIALOG or \
                 role == pyatspi.ROLE_WINDOW or \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ldtp-2.1.0/setup.py new/ldtp-2.1.1/setup.py
--- old/ldtp-2.1.0/setup.py     2011-01-04 00:48:32.000000000 +0100
+++ new/ldtp-2.1.1/setup.py     2011-02-02 02:39:33.000000000 +0100
@@ -23,7 +23,7 @@
 from distutils.core import setup
 
 setup(name="ldtp",
-      version="2.1.0",
+      version="2.1.1",
       description="Linux Desktop Testing Project Version 2",
       maintainer="Nagappan Alagappan",
       maintainer_email="[email protected]",


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to