File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -105,22 +105,13 @@ def start_shell():
105105 print ("Error during call to fork()" )
106106 exit (1 )
107107
108-
109108def add_arguments ():
110109 parser = argparse .ArgumentParser (description = __doc__ )
111110 for argument in get_arguments ():
112- < << << << HEAD
113- arg_type = 'store' if len (argument ) > 2 and argument [2 ] else 'store_true'
114- parser .add_argument (argument [0 ], help = argument [1 ], action = arg_type )
115- parser .add_argument ("--client" , action = "store" , dest = "client" ,
116- help = "sets client's dbus name" , default = "spotify" )
117- return parser .parse_args ()
118- == == == =
119111 if len (argument ) > 2 and argument [2 ]:
120112 arg_type = 'store'
121113 else :
122114 arg_type = 'store_true'
123- >> >> >> > 3 dcddf8 (Fix IndexError and line length issues in spotifycli .py for Python 3.13 )
124115
125116 parser .add_argument (
126117 argument [0 ],
@@ -138,6 +129,7 @@ def add_arguments():
138129
139130 return parser .parse_args ()
140131
132+
141133def get_arguments ():
142134 return [
143135 ("--version" , "shows version number" ),
You can’t perform that action at this time.
0 commit comments