Skip to content

Commit abd5342

Browse files
committed
Remove pastebin_private which is no longer needed
1 parent a68c8bd commit abd5342

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

bpython/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ def loadini(struct, configfile):
5252
'syntax': True,
5353
'tab_length': 4,
5454
'pastebin_confirm': True,
55-
'pastebin_private': False,
5655
'pastebin_url': 'https://bpaste.net/json/new',
57-
'pastebin_private': True,
5856
'pastebin_show_url': 'https://bpaste.net/show/$paste_id',
5957
'pastebin_removal_url': 'https://bpaste.net/remove/$removal_id',
6058
'pastebin_expiry': '1week',
@@ -142,9 +140,7 @@ def loadini(struct, configfile):
142140
struct.help_key = config.get('keyboard', 'help')
143141

144142
struct.pastebin_confirm = config.getboolean('general', 'pastebin_confirm')
145-
struct.pastebin_private = config.getboolean('general', 'pastebin_private')
146143
struct.pastebin_url = config.get('general', 'pastebin_url')
147-
struct.pastebin_private = config.get('general', 'pastebin_private')
148144
struct.pastebin_show_url = config.get('general', 'pastebin_show_url')
149145
struct.pastebin_removal_url = config.get('general', 'pastebin_removal_url')
150146
struct.pastebin_expiry = config.get('general', 'pastebin_expiry')

doc/sphinx/source/configuration-options.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ The pastebin url to post to (without a trailing slash). This pastebin has to be
4747
a pastebin which uses provides a similar interface to ``bpaste.net``'s JSON
4848
interface. (default: https://bpaste.net/json/new)
4949

50-
pastebin_private
51-
^^^^^^^^^^^^^^^^
52-
If the pastebin supports a private option to make a random paste id, use it.
53-
Default: True).
54-
55-
.. versionadded:: 0.12
56-
5750
pastebin_show_url
5851
^^^^^^^^^^^^^^^^^
5952
The url under which the new paste can be reached. ``$paste_id`` will be replaced

0 commit comments

Comments
 (0)