change .digests to .DIGESTS
authorEric Edgar <rocket@gentoo.org>
Thu, 5 Jan 2006 19:23:07 +0000 (19:23 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 5 Jan 2006 19:23:07 +0000 (19:23 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1011 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index f527be1e4228dba58d2949739c12b2a9d083e554..150cbd9a96e28b370e5165ee32255c35b3b91b0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.498 2006/01/04 20:28:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.499 2006/01/05 19:23:06 rocket Exp $
+
+  05 Jan 2006; Eric Edgar <rocket@gentoo.org>
+  modules/generic_stage_target.py:
+  change .digests to .DIGESTS
 
   04 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
   targets/support/kmerge.sh:
index a74f5aa62b137c35644d058b6a52939bddacd976..9662ef187f2fc7cea8950f59e26d53b82b39fc40 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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.111 2006/01/03 14:25:09 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.112 2006/01/05 19:23:07 rocket Exp $
 
 """
 This class does all of the chroot setup, copying of files, etc. It is
@@ -1279,11 +1279,11 @@ class generic_stage_target(generic_target):
                                os.chmod(myemp,mystat[ST_MODE])
 
         def gen_digest_file(self,file):
-               if os.path.exists(file+".digests"):
-                       os.remove(file+".digests")
+               if os.path.exists(file+".DIGESTS"):
+                       os.remove(file+".DIGESTS")
                if self.settings.has_key("digests"):
                        if os.path.exists(file):
-                               myf=open(file+".digests","w")
+                               myf=open(file+".DIGESTS","w")
                                keys={}
                                for i in self.settings["digests"].split():
                                        keys[i]=1