diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-06-13 22:46:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-06-13 22:46:38 (GMT) |
commit | 0f3bbcb376ee4f76142ac4ddf729403fecac2641 (patch) | |
tree | 1015b219c8125afe0689384d04f6e37130bd2fba /plugins/python/androperms/panel.py | |
parent | aed45245289e3e16d421aa6154dcb803e86addaa (diff) |
Fixed Elf format support.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@353 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/python/androperms/panel.py')
-rw-r--r-- | plugins/python/androperms/panel.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/python/androperms/panel.py b/plugins/python/androperms/panel.py index b892339..8f8e925 100644 --- a/plugins/python/androperms/panel.py +++ b/plugins/python/androperms/panel.py @@ -1,6 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +from pychrysalide.format.dex import DexFormat from pychrysalide.gui.panels import PanelItem import gtk @@ -88,6 +89,10 @@ class PermsPanel(PanelItem): self._store.clear() + fmt = binary.get_format() + if not isinstance(fmt, DexFormat): + return False + used = self._perms[binary] for p in used: |