Replace calls to "apply(f, args)" with "f(*args)"
This commit is contained in:
parent
141c8d304b
commit
67ae320438
7 changed files with 11 additions and 11 deletions
|
@ -31,7 +31,7 @@ class ConnectionDialog(QtGui.QDialog):
|
|||
"""Connection window with server/port/password fields."""
|
||||
|
||||
def __init__(self, values, *args):
|
||||
apply(QtGui.QDialog.__init__, (self,) + args)
|
||||
QtGui.QDialog.__init__(*(self,) + args)
|
||||
self.values = values
|
||||
self.setModal(True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue