From: Andrew Gaffney Date: Sun, 11 Jan 2009 03:38:18 +0000 (-0600) Subject: We don't need to pass conf_values since it's a global var X-Git-Tag: CATALYST-2.0.10~3^2~220 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e73143860d469805a5277c2c2d1bc2099328b265;p=catalyst.git We don't need to pass conf_values since it's a global var --- 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()