Show More
@@ -103,6 +103,7 b' class ipeerconnection(interfaceutil.Inte' | |||||
103 | """ |
|
103 | """ | |
104 |
|
104 | |||
105 | ui = interfaceutil.Attribute("""ui.ui instance""") |
|
105 | ui = interfaceutil.Attribute("""ui.ui instance""") | |
|
106 | path = interfaceutil.Attribute("""a urlutil.path instance or None""") | |||
106 |
|
107 | |||
107 | def url(): |
|
108 | def url(): | |
108 | """Returns a URL string representing this peer. |
|
109 | """Returns a URL string representing this peer. | |
@@ -387,11 +388,9 b' class peer:' | |||||
387 |
|
388 | |||
388 | limitedarguments = False |
|
389 | limitedarguments = False | |
389 |
|
390 | |||
390 | def __init__( |
|
391 | def __init__(self, ui, path=None): | |
391 | self, |
|
|||
392 | ui, |
|
|||
393 | ): |
|
|||
394 | self.ui = ui |
|
392 | self.ui = ui | |
|
393 | self.path = path | |||
395 |
|
394 | |||
396 | def capable(self, name): |
|
395 | def capable(self, name): | |
397 | caps = self.capabilities() |
|
396 | caps = self.capabilities() |
General Comments 0
You need to be logged in to leave comments.
Login now