X Tutup
Skip to content

Commit fab3984

Browse files
delay disappearance of pastebin URLs
1 parent 6a17d72 commit fab3984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def do_pastebin(self, s):
679679
"""Actually perform the upload."""
680680
if s == self.prev_pastebin_content:
681681
self.interact.notify(_('Duplicate pastebin. Previous URL: %s. Removal URL: %s') %
682-
(self.prev_pastebin_url, self.prev_removal_url))
682+
(self.prev_pastebin_url, self.prev_removal_url), 10)
683683
return self.prev_pastebin_url
684684

685685
if self.config.pastebin_helper:
@@ -719,7 +719,7 @@ def do_pastebin_json(self, s):
719719
self.prev_pastebin_url = paste_url
720720
self.prev_removal_url = removal_url
721721
self.interact.notify(_('Pastebin URL: %s - Removal URL: %s') %
722-
(paste_url, removal_url))
722+
(paste_url, removal_url), 10)
723723

724724
return paste_url
725725

0 commit comments

Comments
 (0)
X Tutup