[Shr-User] little today app for shr

Pietro "m0nt0" Montorfano monto84 at gmail.com
Mon May 4 22:45:59 CEST 2009


Il giorno lun, 04/05/2009 alle 22.12 +0200, Bram Mertens ha scritto:
[snip]
> 
> Another compliment, this really comes in handy!
> 
> I do get the following warning (I started it using the init script
> from an ssh session after installing):
> root at om-gta02 ~ $
> /usr/lib/python2.6/site-packages/dbus/connection.py:242:
> DeprecationWarning: object.__init__() takes no parameters
>   super(Connection, self).__init__(*args, **kwargs)
> 
> root at om-gta02 ~ $ Let's go on
> 
> Kind regards
> 
> Bram

I know, i think that this is something about dbus or edbus, i've tried
with an interactive python session 

--- BEGIN PASTE

GiSkArD-uNsTaBlE root # DISPLAY=:0 python
Python 2.6.1 (r261:67515, Jan 22 2009, 17:13:34) 
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import elementary
>>> elementary.init()
>>> import dbus
>>> import e_dbus
>>> import dbus
>>>             dbus_loop = e_dbus.DBusEcoreMainLoop()
  File "<stdin>", line 1
    dbus_loop = e_dbus.DBusEcoreMainLoop()
    ^
IndentationError: unexpected indent
>>> dbus_loop = e_dbus.DBusEcoreMainLoop()
>>> system_bus = dbus.SystemBus(mainloop = dbus_loop)
/usr/lib/python2.6/site-packages/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
>>> 

--- END PASTE

so i can't do nothing about that, if you don't like "let's go" it's not
a problem, look in the source and delete line 151 and line 155 but these
aren't errors.

Bye!

Pietro






More information about the community mailing list