From: Zac Medico Date: Mon, 2 Jul 2012 23:11:45 +0000 (-0700) Subject: Atom: tweak indent for slot logic X-Git-Tag: v2.2.0_alpha116~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9aff636fa22ca91f47a3c5b0955e8e7baee5d6a;p=portage.git Atom: tweak indent for slot logic --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index c722e4802..d71ec09b8 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -1430,12 +1430,12 @@ class Atom(_unicode): atom = remove_slot(self) if self.slot is not None or self.slot_abi_op is not None: atom += _slot_separator - if self.slot is not None: - atom += self.slot - if self.slot_abi is not None: - atom += "/%s" % self.slot_abi - if self.slot_abi_op is not None: - atom += self.slot_abi_op + if self.slot is not None: + atom += self.slot + if self.slot_abi is not None: + atom += "/%s" % self.slot_abi + if self.slot_abi_op is not None: + atom += self.slot_abi_op atom += _repo_separator + repo if self.use is not None: atom += _unicode(self.use) @@ -1497,12 +1497,12 @@ class Atom(_unicode): atom = remove_slot(self) if self.slot is not None or self.slot_abi_op is not None: atom += _slot_separator - if self.slot is not None: - atom += self.slot - if self.slot_abi is not None: - atom += "/%s" % self.slot_abi - if self.slot_abi_op is not None: - atom += self.slot_abi_op + if self.slot is not None: + atom += self.slot + if self.slot_abi is not None: + atom += "/%s" % self.slot_abi + if self.slot_abi_op is not None: + atom += self.slot_abi_op use_dep = self.use.evaluate_conditionals(use) atom += _unicode(use_dep) return Atom(atom, unevaluated_atom=self, allow_repo=(self.repo is not None), _use=use_dep) @@ -1525,12 +1525,12 @@ class Atom(_unicode): atom = remove_slot(self) if self.slot is not None or self.slot_abi_op is not None: atom += _slot_separator - if self.slot is not None: - atom += self.slot - if self.slot_abi is not None: - atom += "/%s" % self.slot_abi - if self.slot_abi_op is not None: - atom += self.slot_abi_op + if self.slot is not None: + atom += self.slot + if self.slot_abi is not None: + atom += "/%s" % self.slot_abi + if self.slot_abi_op is not None: + atom += self.slot_abi_op use_dep = self.use.violated_conditionals(other_use, is_valid_flag, parent_use) atom += _unicode(use_dep) return Atom(atom, unevaluated_atom=self, allow_repo=(self.repo is not None), _use=use_dep) @@ -1541,12 +1541,12 @@ class Atom(_unicode): atom = remove_slot(self) if self.slot is not None or self.slot_abi_op is not None: atom += _slot_separator - if self.slot is not None: - atom += self.slot - if self.slot_abi is not None: - atom += "/%s" % self.slot_abi - if self.slot_abi_op is not None: - atom += self.slot_abi_op + if self.slot is not None: + atom += self.slot + if self.slot_abi is not None: + atom += "/%s" % self.slot_abi + if self.slot_abi_op is not None: + atom += self.slot_abi_op use_dep = self.use._eval_qa_conditionals(use_mask, use_force) atom += _unicode(use_dep) return Atom(atom, unevaluated_atom=self, allow_repo=(self.repo is not None), _use=use_dep)