From 75d68b8d2b4e9bcf16873251c8d4dea51c68d1e5 Mon Sep 17 00:00:00 2001 From: Matt Rose Date: Fri, 28 Aug 2020 16:55:14 -0400 Subject: [PATCH] move cmdline option conversion to dbus format to optionparse --- terminator | 7 ------- 1 file changed, 7 deletions(-) diff --git a/terminator b/terminator index 24936496..9727a9ed 100755 --- a/terminator +++ b/terminator @@ -95,13 +95,6 @@ if __name__ == '__main__': # (the -x argument for example) if OPTIONS.working_directory is None: OPTIONS.working_directory = ORIGCWD - optionslist = {} - for opt, val in list(OPTIONS.__dict__.items()): - if type(val) == type([]): - val = ' '.join(val) - if val == True: - val = 'True' - optionslist[opt] = val and '%s'%val or '' optionslist = dbus.Dictionary(dbus_options, signature='ss') if OPTIONS.new_tab: dbg('Requesting a new tab')