Skip to content

Fix paste helper#648

Merged
sebastinas merged 2 commits into
bpython:masterfrom
jkbbwr:fix-paste-helper
Oct 30, 2016
Merged

Fix paste helper#648
sebastinas merged 2 commits into
bpython:masterfrom
jkbbwr:fix-paste-helper

Conversation

@jkbbwr
Copy link
Copy Markdown
Contributor

@jkbbwr 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.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants