Show More
@@ -137,6 +137,8 b' def connect_vcs(server_and_port, protoco' | |||
|
137 | 137 | connect_pyro4(server_and_port) |
|
138 | 138 | elif protocol == 'http': |
|
139 | 139 | connect_http(server_and_port) |
|
140 | else: | |
|
141 | raise Exception('Invalid vcs server protocol "{}"'.format(protocol)) | |
|
140 | 142 | |
|
141 | 143 | |
|
142 | 144 | # TODO: johbo: This function should be moved into our test suite, there is |
@@ -150,6 +152,8 b' def start_vcs_server(server_and_port, pr' | |||
|
150 | 152 | return _start_http_vcs_server(server_and_port, log_level) |
|
151 | 153 | elif protocol == 'pyro4': |
|
152 | 154 | return _start_pyro4_vcs_server(server_and_port, log_level) |
|
155 | else: | |
|
156 | raise Exception('Invalid vcs server protocol "{}"'.format(protocol)) | |
|
153 | 157 | |
|
154 | 158 | |
|
155 | 159 | def _start_pyro4_vcs_server(server_and_port, log_level=None): |
@@ -216,6 +220,8 b' def create_vcsserver_proxy(server_and_po' | |||
|
216 | 220 | return _create_vcsserver_proxy_pyro4(server_and_port) |
|
217 | 221 | elif protocol == 'http': |
|
218 | 222 | return _create_vcsserver_proxy_http(server_and_port) |
|
223 | else: | |
|
224 | raise Exception('Invalid vcs server protocol "{}"'.format(protocol)) | |
|
219 | 225 | |
|
220 | 226 | |
|
221 | 227 | def _create_vcsserver_proxy_pyro4(server_and_port): |
General Comments 0
You need to be logged in to leave comments.
Login now