diff --git a/powerline/lint/imp.py b/powerline/lint/imp.py index 52a2e8ad..6e402132 100644 --- a/powerline/lint/imp.py +++ b/powerline/lint/imp.py @@ -21,12 +21,6 @@ class WithPath(object): def import_function(function_type, name, data, context, echoerr, module): havemarks(name, module) - if module == 'powerline.segments.common.players' and name == 'now_playing': - echoerr(context='Warning while checking segments (key {key})'.format(key=context.key), - context_mark=name.mark, - problem='function {0}.{1} is deprecated: use {0}.{{player_name}} instead'.format(module, name), - problem_mark=module.mark) - with WithPath(data['import_paths']): try: func = getattr(__import__(str(module), fromlist=[str(name)]), str(name))