summaryrefslogtreecommitdiff
path: root/portato/backend/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend/package.py')
-rw-r--r--portato/backend/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 056d54c..92194d5 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -231,7 +231,7 @@ class Package:
return True
elif (not self.is_installed()) and flag in self.get_settings("USE").split() \
- and not flags.invert_use_flag(flag) in pkg.get_new_use_flags(): # flags that would be set
+ and not flags.invert_use_flag(flag) in self.get_new_use_flags(): # flags that would be set
return True
elif flag in self.get_new_use_flags():