38
38
class PushDialog(Gtk.Dialog):
39
39
"""New implementation of the Push dialog."""
41
def __init__(self, repository, revid, branch=None, parent=None):
41
def __init__(self, repository=None, revid=None, branch=None, parent=None):
42
42
"""Initialize the Push dialog. """
43
43
super(PushDialog, self).__init__(
44
44
title="Push", parent=parent, flags=0, border_width=6,
45
45
buttons=(Gtk.STOCK_CLOSE, Gtk.ResponseType.CLOSE))
49
51
self.repository = repository