~barry/ubuntu/precise/dbus-python/python3-from-upstream

« back to all changes in this revision

Viewing changes to debian/patches/deprecation-warning.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-05-06 10:12:39 UTC
  • Revision ID: james.westby@ubuntu.com-20090506101239-vx2ti4uqgru43rrj
Tags: 0.83.0-1ubuntu2
Add deprecation-warning.patch: Fix deprecation warning with Python 2.6,
thanks to Rodney Dawes for the patch! (LP: #356281)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Description: Fix deprecation warning with Python 2.6
 
2
# Ubuntu: https://launchpad.net/bugs/356281
 
3
# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=21172
 
4
--- dbus-python-0.83.0/dbus/connection.py       2008-07-23 17:35:59.000000000 +0200
 
5
+++ dbus-python-0.83.0.new/dbus/connection.py   2009-05-06 10:11:56.471500214 +0200
 
6
@@ -239,8 +239,6 @@
 
7
     ProxyObjectClass = ProxyObject
 
8
 
 
9
     def __init__(self, *args, **kwargs):
 
10
-        super(Connection, self).__init__(*args, **kwargs)
 
11
-
 
12
         # this if-block is needed because shared bus connections can be
 
13
         # __init__'ed more than once
 
14
         if not hasattr(self, '_dbus_Connection_initialized'):