Skip to content

Instantly share code, notes, and snippets.

@brandur
Created November 25, 2016 20:07
Show Gist options
  • Save brandur/7d03dfd50f96d7d3746c530861cdbb21 to your computer and use it in GitHub Desktop.
Save brandur/7d03dfd50f96d7d3746c530861cdbb21 to your computer and use it in GitHub Desktop.
Build Failure

The linter is expecting that whitespace line up with an open parenthesis. In particular, this section starting on line 115:

        try:
            try:
                if(session is not None):
                    result = session.request(method,
                                                url,
                                                headers=session.headers,
                                                data=post_data,
                                                timeout=self._timeout,
                                                **kwargs)

Should look like:

        try:
            try:
                if(session is not None):
                    result = session.request(method,
                                             url,
                                             headers=session.headers,
                                             data=post_data,
                                             timeout=self._timeout,
                                             **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment