summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-07-03 18:34:45 +0000
committerZac Medico <zmedico@gentoo.org>2009-07-03 18:34:45 +0000
commitff7e01832ad4bf8b07730b7c8009654e2db22bb9 (patch)
treed5442ceefbf3c0c66accfaf07f8a99f2ac22ab9c
parentSkip PROVIDE conditional evaluation in PackageSet.iterAtomsForPackage(), since (diff)
downloadportage-idfetch-ff7e01832ad4bf8b07730b7c8009654e2db22bb9.tar.gz
portage-idfetch-ff7e01832ad4bf8b07730b7c8009654e2db22bb9.tar.bz2
portage-idfetch-ff7e01832ad4bf8b07730b7c8009654e2db22bb9.zip
Move "import copy" to the top of the file.
svn path=/main/trunk/; revision=13765
-rw-r--r--pym/_emerge/AbstractDepPriority.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/AbstractDepPriority.py b/pym/_emerge/AbstractDepPriority.py
index 53d6a8a0..e51999aa 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)
-