diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-01-15 13:12:55 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-01-15 13:12:55 -0300 |
commit | e7472ad6686e06c2bd78e9f873632b58538f05f7 (patch) | |
tree | 9c7833ab04e26f999569e7bc6a77b61d86986e02 /src/leap/bitmask/util/polkit_agent.py | |
parent | 6941519e60fcd071b2a3370a188a393de6717c91 (diff) |
Use tuple instead of set.
The set syntax using {} works for python >= 2.7, so failed on 2.6.
Closes #6638.
Diffstat (limited to 'src/leap/bitmask/util/polkit_agent.py')
-rw-r--r-- | src/leap/bitmask/util/polkit_agent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/util/polkit_agent.py b/src/leap/bitmask/util/polkit_agent.py index af5e431c..78eeaa55 100644 --- a/src/leap/bitmask/util/polkit_agent.py +++ b/src/leap/bitmask/util/polkit_agent.py @@ -31,12 +31,12 @@ BASE_PATH_KDE = "/usr/lib/kde4/libexec/" GNO_PATH = BASE_PATH_GNO + AUTH_FILE % ("gnome",) KDE_PATH = BASE_PATH_KDE + AUTH_FILE % ("kde",) -POLKIT_PATHS = { +POLKIT_PATHS = ( '/usr/lib/lxpolkit/lxpolkit', '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1', '/usr/lib/mate-polkit/polkit-mate-authentication-agent-1', '/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1', -} +) def _get_polkit_agent(): |