Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 938538 Details for
Bug 1122018
calling a method with different signature does not throw UnknownMethod error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
python-dbus example
myservice.py (text/plain), 644 bytes, created by
Jiri Popelka
on 2014-09-17 16:08:10 UTC
(
hide
)
Description:
python-dbus example
Filename:
MIME Type:
Creator:
Jiri Popelka
Created:
2014-09-17 16:08:10 UTC
Size:
644 bytes
patch
obsolete
># myservice.py ># simple python-dbus service that exposes 1 method called hello() > >import gtk >import dbus >import dbus.service >from dbus.mainloop.glib import DBusGMainLoop > >class MyDBUSService(dbus.service.Object): > def __init__(self): > bus_name = dbus.service.BusName('org.frankhale.helloservice', bus=dbus.SessionBus()) > dbus.service.Object.__init__(self, bus_name, '/org/frankhale/helloservice') > > @dbus.service.method('org.frankhale.helloservice', > in_signature='s', out_signature='s') > def hello(self, a): > return "Hello,World: " + a > >DBusGMainLoop(set_as_default=True) >myservice = MyDBUSService() >gtk.main()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1122018
: 938538