From: Zac Medico Date: Tue, 23 Jul 2013 19:44:30 +0000 (-0700) Subject: action_sync: backward compatible parameters X-Git-Tag: v2.2.0_alpha189~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22c7578d1cf407a342a1fda2f6e1fc7bdfce6eb7;p=portage.git action_sync: backward compatible parameters --- 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