Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tardyp committed Dec 6, 2016
1 parent c473868 commit 5054320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/test/fake/httpclientservice.py
Expand Up @@ -60,8 +60,8 @@ class HTTPClientService(service.SharedService):
quiet = False

def __init__(self, base_url, auth=None, headers=None):
service.SharedService.__init__(self)
assert not base_url.endswith("/"), "baseurl should not end with /"
service.SharedService.__init__(self)
self._base_url = base_url
self._auth = auth

Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/util/httpclientservice.py
Expand Up @@ -88,8 +88,8 @@ class HTTPClientService(service.SharedService):
MAX_THREADS = 5

def __init__(self, base_url, auth=None, headers=None):
service.SharedService.__init__(self)
assert not base_url.endswith("/"), "baseurl should not end with /: " + base_url
service.SharedService.__init__(self)
self._base_url = base_url
self._auth = auth
self._headers = headers
Expand Down

0 comments on commit 5054320

Please sign in to comment.