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