aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-09 23:42:27 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-09 23:42:27 +0100
commitd4cf576c2c88c934802fafe141eed309b1a017bd (patch)
tree5c1fc0db7c1847a1adb752045a99e2d8083243e7 /src/plugins
parentfix errors in pacman plugin (diff)
downloadxpybar-d4cf576c2c88c934802fafe141eed309b1a017bd.tar.gz
xpybar-d4cf576c2c88c934802fafe141eed309b1a017bd.tar.bz2
xpybar-d4cf576c2c88c934802fafe141eed309b1a017bd.tar.xz
m pacman + pacman demo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/pacman.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/pacman.py b/src/plugins/pacman.py
index b490bde..049a4cc 100644
--- a/src/plugins/pacman.py
+++ b/src/plugins/pacman.py
@@ -29,7 +29,7 @@ class Pacman:
@variable required:list<str> Packages that require this package
@variable optrequired:list<str> Packages that this package is optional for
@variable install_date:str The date and time the package was installed
- @variable install_explicitly:bool Whether the package was installed explicitly
+ @variable installed_explicitly:bool Whether the package was installed explicitly
@variable install_script:bool Whether the package contains and install script
Unique variables for not installed:
@@ -98,11 +98,11 @@ class Pacman:
plur = lambda x : list(filter(lambda w : not w == 'None', fields[x][0]))
if installed:
- self.required = plur('Required By')
- self.optrequired = plur('Optional For')
- self.install_date = text('Install Date')
- self.install_explicitly = text('Install Reason') == 'Explicitly installed'
- self.install_script = text('Install Script') == 'Yes'
+ self.required = plur('Required By')
+ self.optrequired = plur('Optional For')
+ self.install_date = text('Install Date')
+ self.installed_explicitly = text('Install Reason') == 'Explicitly installed'
+ self.install_script = text('Install Script') == 'Yes'
if not installed:
self.repository = word('Name')