From 427011f50c0f7e0caa472feafb9718f0eb5a72a9 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 1 Oct 2009 20:06:17 -0400 Subject: [PATCH] small refactor --HG-- branch : pmacs2 --- application.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application.py b/application.py index 873820d..519bd8c 100755 --- a/application.py +++ b/application.py @@ -1221,9 +1221,8 @@ if __name__ == "__main__": # ok, now run our app try: - d = {'jump_to_line': opts.goto, 'init_mode': opts.mode, - 'init_cmds': opts.cmds} - curses.wrapper(run_app, buffers, **d) + curses.wrapper(run_app, buffers, jump_to_line=opts.goto, + init_mode=opts.mode, init_cmds=opts.cmds) err = 0 except: # restore terminal state before printing an error