From 9220b2347179bf48742b791ec48a0a3f02dfc5a3 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 2 Jan 2018 19:34:41 +0100 Subject: [PATCH] Removed two unneeded rows --- platypush/pusher/__main__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/platypush/pusher/__main__.py b/platypush/pusher/__main__.py index dfb401c3ac..f805600944 100644 --- a/platypush/pusher/__main__.py +++ b/platypush/pusher/__main__.py @@ -4,12 +4,9 @@ from . import Pusher def main(args=sys.argv[1:]): opts = Pusher.parse_build_args(args) - pusher = Pusher(config_file=opts.config, backend=opts.backend) if opts.type == 'event': - delattr(opts, 'type') - print(opts.args) pusher.send_event(target=opts.target, type=opts.event, **opts.args) else: pusher.send_request(target=opts.target, action=opts.action, timeout=opts.timeout, **opts.args)