diff --git a/client.go b/client.go index dd1d24b..d2a0c6d 100644 --- a/client.go +++ b/client.go @@ -416,7 +416,6 @@ func (c *Client) doRawRequest(req *http.Request, emptyResponse bool) (io.ReadClo return nil, out } - fmt.Printf("response: %d", resp.StatusCode) if emptyResponse || resp.StatusCode == http.StatusNoContent { resp.Body.Close() return nil, nil diff --git a/pullrequests.go b/pullrequests.go index 23bb08d..2394a25 100644 --- a/pullrequests.go +++ b/pullrequests.go @@ -2,7 +2,6 @@ package bitbucket import ( "encoding/json" - "fmt" "net/url" ) @@ -101,7 +100,6 @@ func (p *PullRequests) Diff(po *PullRequestsOptions) (interface{}, error) { func (p *PullRequests) DiffStat(po *PullRequestsOptions) (interface{}, error) { urlStr := p.c.GetApiBaseURL() + "/repositories/" + po.Owner + "/" + po.RepoSlug + "/pullrequests/" + po.ID + "/diffstat" - fmt.Println("URLString: ", urlStr) return p.c.execute("GET", urlStr, "") }