From 7153f6803c36b2c5bc20de0ee306c6d83d8838a3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 May 2008 05:45:48 +0000 Subject: [PATCH] Set Atom.use = None when there are no USE deps (instead of the empty tuple returned from dep_getusedeps()). svn path=/main/trunk/; revision=10447 --- pym/portage/dep.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/dep.py b/pym/portage/dep.py index a98979969..993c23bdd 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -409,6 +409,8 @@ class Atom(str): self.use = dep_getusedeps(s) if self.use: self.use = _use_dep(self.use) + else: + self.use = None def get_operator(mydep): """ -- 2.26.2