# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.623 2006/05/18 00:35:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.624 2006/05/19 16:25:20 rocket Exp $
+
+ 19 May 2006; Eric Edgar <rocket@gentoo.org> modules/catalyst_support.py,
+ modules/generic_stage_target.py:
+ Fix DIGESTS output
16 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/rc-update.sh:
# Copyright 1999-2005 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.73 2006/05/03 22:18:38 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.74 2006/05/19 16:25:20 rocket Exp $
import sys,string,os,types,re,signal,traceback,time
#import md5,sha
hash=mylines[0]
short_file=os.path.split(mylines[1])[1]
a.close()
- result=header+hash+" "+short_file
+ result=header+hash+" "+short_file+"\n"
if verbose:
print header+" (%s) = %s" % (short_file, result)
return result
# 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.133 2006/04/25 17:13:28 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.134 2006/05/19 16:25:20 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
keys[i]=1
array=keys.keys()
array.sort()
- for i in array:
- if self.settings.has_key("VERBOSE"):
- hash=generate_hash(file,hash_function=i,verbose=True)
- else:
- hash=generate_hash(file,hash_function=i)
- myf.write(hash)
+ for j in array:
+ if self.settings.has_key("VERBOSE"):
+ hash=generate_hash(file,hash_function=j,verbose=True)
+ else:
+ hash=generate_hash(file,hash_function=j)
+ myf.write(hash)
myf.close()
def purge(self):