From 22c7578d1cf407a342a1fda2f6e1fc7bdfce6eb7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 23 Jul 2013 12:44:30 -0700 Subject: [PATCH] action_sync: backward compatible parameters --- pym/_emerge/actions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 8c314b376..5d20e003d 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2010,14 +2010,16 @@ def action_search(root_config, myopts, myfiles, spinner): sys.exit(1) searchinstance.output() -def action_sync(emerge_config, trees=DeprecationWarning, opts=DeprecationWarning): +def action_sync(emerge_config, trees=DeprecationWarning, + mtimedb=DeprecationWarning, opts=DeprecationWarning, + action=DeprecationWarning): if not isinstance(emerge_config, _emerge_config): warnings.warn("_emerge.actions.action_sync() now expects " "an _emerge_config instance as the first parameter", DeprecationWarning, stacklevel=2) emerge_config = load_emerge_config( - action='sync', args=[], trees=trees, opts=opts) + action=action, args=[], trees=trees, opts=opts) xterm_titles = "notitles" not in \ emerge_config.target_config.settings.features -- 2.26.2