summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-06-26 09:41:22 -0700
committerClaire McQuin <claire@getchef.com>2014-06-26 09:41:22 -0700
commita4556066c439aad56a0481ea02f4e4f1a4dc6757 (patch)
tree5169d2cab893dfd74583ce8301d554b90244b901
parent208427e10af5d95857cc7b2ddff252f2db631bbb (diff)
downloadchef-mcquin/yum-dump-parser-params.tar.gz
Change --yum-lock-timeout option action to store.mcquin/yum-dump-parser-params
-rw-r--r--lib/chef/provider/package/yum-dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/yum-dump.py b/lib/chef/provider/package/yum-dump.py
index 7e86994c64..8b09dedbf0 100644
--- a/lib/chef/provider/package/yum-dump.py
+++ b/lib/chef/provider/package/yum-dump.py
@@ -279,7 +279,7 @@ def main():
action="callback", callback=gather_repo_opts, type="string", dest="repo_control", default=[],
help="disable repositories by id or glob")
parser.add_option("--yum-lock-timeout",
- action="callback", type="int", dest="yum_lock_timeout", default=30,
+ action="store", type="int", dest="yum_lock_timeout", default=30,
help="Time in seconds to wait for yum process lock")
(options, args) = parser.parse_args()