diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-13 08:09:22 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-13 08:09:22 -0500 |
commit | 238f6446d09ca8e3b7a082876920922ee1eda4d2 (patch) | |
tree | 7a59ba455180c9950631334180af64ba68eeadee /src/lib/Server/Plugins/Packages/Source.py | |
parent | 8c9b825595174455242b3b2f6ca96ddcbdcfff2e (diff) | |
parent | b6654dd316f9cd4f6a6673a89cdd48cc1b38b82a (diff) | |
download | bcfg2-238f6446d09ca8e3b7a082876920922ee1eda4d2.tar.gz bcfg2-238f6446d09ca8e3b7a082876920922ee1eda4d2.tar.bz2 bcfg2-238f6446d09ca8e3b7a082876920922ee1eda4d2.zip |
merged branch rules_regex
Diffstat (limited to 'src/lib/Server/Plugins/Packages/Source.py')
-rw-r--r-- | src/lib/Server/Plugins/Packages/Source.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Packages/Source.py b/src/lib/Server/Plugins/Packages/Source.py index 72c7a4bfd..dbb510053 100644 --- a/src/lib/Server/Plugins/Packages/Source.py +++ b/src/lib/Server/Plugins/Packages/Source.py @@ -257,9 +257,8 @@ class Source(object): if not found_arch: return False - if (self.config.has_section("global") and - self.config.has_option("global", "magic_groups") and - self.config.getboolean("global", "magic_groups") == False): + if self.config.getboolean("global", "magic_groups", + default=True) == False: return True else: for group in self.basegroups: |