equal
deleted
inserted
replaced
179 def CheckConfiguration(WampClientConf): |
179 def CheckConfiguration(WampClientConf): |
180 url = WampClientConf["url"] |
180 url = WampClientConf["url"] |
181 if not IsCorrectUri(url): |
181 if not IsCorrectUri(url): |
182 raise annotate.ValidateError( |
182 raise annotate.ValidateError( |
183 {"url":"Invalid URL: {}".format(url)}, |
183 {"url":"Invalid URL: {}".format(url)}, |
184 _("WAMP confiuration error:")) |
184 _("WAMP configuration error:")) |
185 |
185 |
186 def GetConfiguration(): |
186 def GetConfiguration(): |
187 global lastKnownConfig |
187 global lastKnownConfig |
188 |
188 |
189 if os.path.exists(_WampConf): |
189 if os.path.exists(_WampConf): |