Skip to content

Instantly share code, notes, and snippets.

@nphilipp
Created February 16, 2017 16:54
Show Gist options
  • Save nphilipp/9e26e4ccd41264e23fc807233ff5bf7d to your computer and use it in GitHub Desktop.
Save nphilipp/9e26e4ccd41264e23fc807233ff5bf7d to your computer and use it in GitHub Desktop.
...
@dbus.service.method("org.atomic", in_signature='ssbbbasb',out_signature='s'
sender_keyword='dbus_sender')
def Diff(self, dbus_sender, src, dest, rpms, no_files, names_only, diff_keywords, metadata):
# check polkit authorization here
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment