Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paste helper #648

Merged
merged 2 commits into from Oct 30, 2016
Merged

Fix paste helper #648

merged 2 commits into from Oct 30, 2016

Conversation

@jkbbwr
Copy link
Contributor

jkbbwr commented Oct 26, 2016

Currently bpython will crash calling an external helper, this is because it will try to unpack a tuple of one into paste_url, removal_url This simply returns None as the removal_url.

jkbbwr added 2 commits Oct 26, 2016
Paste helper returns a tuple of 1 element which causes it to fail

  File
  line 868, in do_pastebin
      paste_url, removal_url = self.paster.paste(s)
      ValueError: need more than 1 value to unpack
@sebastinas sebastinas merged commit 5ffd93e into bpython:master Oct 30, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.