fix minor bug in the purge code so that it actually runs the commands
authorEric Edgar <rocket@gentoo.org>
Tue, 26 Apr 2005 14:58:04 +0000 (14:58 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 26 Apr 2005 14:58:04 +0000 (14:58 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@625 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/catalyst_support.py
modules/generic_stage_target.py

index 763550e6d8022abf1ce0387508e6b88d5e6c6170..881891bc3a5fee35a7abc0d17f05de406bbd5372 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.237 2005/04/22 18:33:06 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.238 2005/04/26 14:58:04 rocket Exp $
+
+  26 Apr 2005; Eric Edgar <rocket@gentoo.org> modules/catalyst_support.py,
+  modules/generic_stage_target.py:
+  fix minor bug in the purge code so that it actually runs the commands
 
   22 Apr 2005; Eric Edgar <rocket@gentoo.org> modules/embedded_target.py,
   modules/generic_stage_target.py, modules/livecd_stage2_target.py,
index df24966bfe1699311ad13d60ed59da78f36ee899..89a69ca4b58d7caefd6e00c3908398711f7586f2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.42 2005/04/21 18:18:46 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.43 2005/04/26 14:58:04 rocket Exp $
 
 import sys,string,os,types,re,signal,traceback,md5,time
 # a function to turn a string of non-printable characters into a string of
@@ -210,7 +210,7 @@ def parse_spec(mylines):
                        continue
                else:
                        myline=mylines[pos].split()
-                       
+               
                        if (len(myline)==0) or (myline[0][-1] != ":"):
                                msg("Skipping invalid spec line "+repr(pos+1))
                        #strip colon:
index 67459cfb7845c8ce0754daa6db0c289b3bb6fa3b..a1f1a69e01435fa9240ccdd6d3da956149bd67ef 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.38 2005/04/22 18:33:06 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.39 2005/04/26 14:58:04 rocket Exp $
 
 """
 This class does all of the chroot setup, copying of files, etc. It is
@@ -1013,10 +1013,10 @@ class generic_stage_target(generic_target):
            countdown(10,"Purging Caches ...")
            if self.settings.has_key("PURGE"):
                print "clearing autoresume ..."
-               self.clear_autoresume
+               self.clear_autoresume()
                
                print "clearing chroot ..."
-               self.clear_chroot
+               self.clear_chroot()
                
                print "clearing package cache ..."
-               self.clear_packages
+               self.clear_packages()