From: Andrew Gaffney Date: Mon, 12 Jan 2009 03:49:03 +0000 (-0600) Subject: Remove redundant imports X-Git-Tag: CATALYST-2.0.10~3^2~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45f579015f84c6779d6684da3a8a325fc1146294;p=catalyst.git Remove redundant imports --- diff --git a/ChangeLog b/ChangeLog index bcb679ae..8a505966 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS) # Distributed under the GPL v2 + 12 Jan 2009; Andrew Gaffney + modules/catalyst/target/generic_stage.py, + modules/catalyst/target/livecd_stage2.py, + modules/catalyst/target/stage2.py: + Remove redundant imports + 12 Jan 2009; Andrew Gaffney modules/catalyst/arch/alpha.py, modules/catalyst/arch/arm.py, modules/catalyst/arch/hppa.py, modules/catalyst/arch/ia64.py, diff --git a/modules/catalyst/target/generic_stage.py b/modules/catalyst/target/generic_stage.py index 7fff5190..1ad7cdcb 100644 --- a/modules/catalyst/target/generic_stage.py +++ b/modules/catalyst/target/generic_stage.py @@ -5,13 +5,10 @@ the driver class for pretty much everything that Catalyst does. """ import os, string, types, shutil -from catalyst.target.generic import * from stat import * -import catalyst.lock -import catalyst.arch +import catalyst +from catalyst.target.generic import * from catalyst.output import warn -import catalyst.util -import catalyst.hash from catalyst.error import * from catalyst.spawn import * diff --git a/modules/catalyst/target/livecd_stage2.py b/modules/catalyst/target/livecd_stage2.py index a909afc1..883e7c8e 100644 --- a/modules/catalyst/target/livecd_stage2.py +++ b/modules/catalyst/target/livecd_stage2.py @@ -5,8 +5,7 @@ Builder class for a LiveCD stage2 build. import os from generic_stage import * -import catalyst.util -import catalyst.hash +import catalyst from catalyst.error import * from catalyst.spawn import * diff --git a/modules/catalyst/target/stage2.py b/modules/catalyst/target/stage2.py index 60024277..b2f6507b 100644 --- a/modules/catalyst/target/stage2.py +++ b/modules/catalyst/target/stage2.py @@ -4,8 +4,7 @@ Builder class for a stage2 installation tarball build. """ from generic_stage import * -import catalyst.util -import catalyst.hash +import catalyst class stage2_target(generic_stage_target): def __init__(self,spec,addlargs):