From: Zac Medico Date: Fri, 3 Jul 2009 18:34:45 +0000 (-0000) Subject: Move "import copy" to the top of the file. X-Git-Tag: v2.2_rc34~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff7e01832ad4bf8b07730b7c8009654e2db22bb9;p=portage.git Move "import copy" to the top of the file. svn path=/main/trunk/; revision=13765 --- diff --git a/pym/_emerge/AbstractDepPriority.py b/pym/_emerge/AbstractDepPriority.py index 53d6a8a09..e51999aa0 100644 --- a/pym/_emerge/AbstractDepPriority.py +++ b/pym/_emerge/AbstractDepPriority.py @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +import copy from _emerge.SlotObject import SlotObject + class AbstractDepPriority(SlotObject): __slots__ = ("buildtime", "runtime", "runtime_post") @@ -25,6 +27,4 @@ class AbstractDepPriority(SlotObject): return self.__int__() >= other def copy(self): - import copy return copy.copy(self) -