From: Zac Medico Date: Tue, 27 May 2008 05:45:48 +0000 (-0000) Subject: Set Atom.use = None when there are no USE deps (instead of the empty X-Git-Tag: v2.2_pre8~93 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7153f6803c36b2c5bc20de0ee306c6d83d8838a3;p=portage.git 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 --- 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): """