From e73143860d469805a5277c2c2d1bc2099328b265 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sat, 10 Jan 2009 21:38:18 -0600 Subject: [PATCH] We don't need to pass conf_values since it's a global var --- ChangeLog | 3 +++ catalyst | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f0fbd1c..84af20c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS) # Distributed under the GPL v2 + 11 Jan 2009; Andrew Gaffney catalyst: + We don't need to pass conf_values since it's a global var + 11 Jan 2009; Andrew Gaffney catalyst: Pre-split options from config file and remove unnecessary imported modules diff --git a/catalyst b/catalyst index 9cc99feb..a43b018c 100755 --- a/catalyst +++ b/catalyst @@ -182,7 +182,7 @@ def build_target(addlargs, targetmap): # sys.exit(1) raise -def verify_digest_and_hash_functions(conf_values): +def verify_digest_and_hash_functions(): # Start checking that digests are valid now that the hash_map was imported from catalyst_support if conf_values.has_key("digests"): for i in conf_values["digests"].split(): @@ -315,7 +315,7 @@ if __name__ == "__main__": parse_config(myconfig) - verify_digest_and_hash_functions(conf_values) + verify_digest_and_hash_functions() targetmap = catalyst.target.build_target_map() -- 2.26.2