summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-04-29 18:28:49 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-04-29 18:28:49 -0700
commit7a896793c8c19ecbb918828a3a5fcbf643341b4b (patch)
tree329297df4f408a7e1bcc2b69729e19b9132f98da
parent90bce69dd2c5b71af98dff448441beed5122c3af (diff)
downloadchef-7a896793c8c19ecbb918828a3a5fcbf643341b4b.tar.gz
stray get_base()
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package/yum/yum_helper.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/provider/package/yum/yum_helper.py b/lib/chef/provider/package/yum/yum_helper.py
index 2d527dda95..a2686c477d 100644
--- a/lib/chef/provider/package/yum/yum_helper.py
+++ b/lib/chef/provider/package/yum/yum_helper.py
@@ -75,8 +75,6 @@ except NameError:
return False
def query(base, command):
- base = get_base()
-
enabled_repos = base.repos.listEnabled()
# Handle any repocontrols passed in with our options