Skip to content

Commit

Permalink
remove handling of description related parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sobolev committed Jan 23, 2015
1 parent 9c08cc1 commit dd9f8e4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions master/buildbot/steps/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class HTTPStep(BuildStep):
renderables = requestsParams
session = None

def __init__(self, url, method, description=None, descriptionDone=None, **kwargs):
def __init__(self, url, method, **kwargs):
if txrequests is None or requests is None:
config.error("Need to install txrequest to use this step:\n\n pip install txrequests")
self.method = method
Expand All @@ -80,10 +80,7 @@ def __init__(self, url, method, description=None, descriptionDone=None, **kwargs
self.__dict__[p] = v
if method not in ('POST', 'GET', 'PUT', 'DELETE', 'HEAD', 'OPTIONS'):
config.error("Wrong method given: '%s' is not known" % method)
if description is not None:
self.description = description
if descriptionDone is not None:
self.descriptionDone = descriptionDone

BuildStep.__init__(self, **kwargs)

def start(self):
Expand Down

0 comments on commit dd9f8e4

Please sign in to comment.