From: Daniel Robbins Date: Thu, 30 Oct 2003 19:49:34 +0000 (+0000) Subject: snapshot fix X-Git-Tag: CATALYST_1_0_1~204 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=232e6e7ad7cd9a52a9ef955e0f0e0fbb3630715f;p=catalyst.git snapshot fix git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@36 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/modules/targets.py b/modules/targets.py index 8d5b0138..38e147e1 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -15,7 +15,6 @@ class generic_stage_target(generic_target): self.required_values=["version_stamp","target","subarch","rel_type","rel_version","snapshot","source_subpath"] self.valid_values=self.required_values generic_target.__init__(self,addlargs,myspec) - # map the mainarch we are running under to the mainarches we support for # building stages and LiveCDs. (for example, on amd64, we can build stages for # x86 or amd64. @@ -30,7 +29,6 @@ class generic_stage_target(generic_target): "i686" : "x86", "x86_64" : "amd64" } - mymachine=os.uname()[4] if not machinemap.has_key(mymachine): @@ -191,7 +189,7 @@ class snapshot_target(generic_target): def __init__(self,myspec,addlargs): self.valid_values=["version_stamp","target"] self.required_values=self.valid_values - generic_target.__init__(myspec,addlargs) + generic_target.__init__(self,myspec,addlargs) self.settings=myspec if not self.settings.has_key("version_stamp"):