Move "import copy" to the top of the file.
authorZac Medico <zmedico@gentoo.org>
Fri, 3 Jul 2009 18:34:45 +0000 (18:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 3 Jul 2009 18:34:45 +0000 (18:34 -0000)
svn path=/main/trunk/; revision=13765

pym/_emerge/AbstractDepPriority.py

index 53d6a8a09f06468201ad63de72f5b6d9ab80cc8b..e51999aa0fb9feeddfbe0f0020476875854ca9e9 100644 (file)
@@ -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)
-