We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 778409f commit 9c6a895Copy full SHA for 9c6a895
bpython/repl.py
@@ -774,10 +774,10 @@ def pastebin(self, s=None):
774
not self.interact.confirm("Pastebin buffer? (y/N) ")):
775
self.interact.notify("Pastebin aborted")
776
return
777
- return do_pastebin(s)
778
-
+ return self.do_pastebin(s)
779
780
def do_pastebin(self, s):
+ """Actually perform the upload."""
781
if s == self.prev_pastebin_content:
782
self.interact.notify('Duplicate pastebin. Previous URL: ' +
783
self.prev_pastebin_url)
0 commit comments