Skip to content

Commit 6fc6416

Browse files
authored
change blacklist to blocklist
Let's use a more appropriate and clear word and discard the usage of the blacklist. Blocklist is clear. Happy for everyone.
1 parent 9ad6f14 commit 6fc6416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/feature_notifications.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Windows disallow control characters (0-31) and /\?%:|"<>
2020
FILE_CHAR_START = 32 if os.name == 'nt' else 1
2121
FILE_CHAR_END = 128
22-
FILE_CHAR_BLACKLIST = '/\\?%*:|"<>' if os.name == 'nt' else '/'
22+
FILE_CHAR_BLOCKLIST = '/\\?%*:|"<>' if os.name == 'nt' else '/'
2323

2424

2525
def notify_outputname(walletname, txid):
@@ -32,7 +32,7 @@ def set_test_params(self):
3232
self.setup_clean_chain = True
3333

3434
def setup_network(self):
35-
self.wallet = ''.join(chr(i) for i in range(FILE_CHAR_START, FILE_CHAR_END) if chr(i) not in FILE_CHAR_BLACKLIST)
35+
self.wallet = ''.join(chr(i) for i in range(FILE_CHAR_START, FILE_CHAR_END) if chr(i) not in FILE_CHAR_BLOCKLIST)
3636
self.alertnotify_dir = os.path.join(self.options.tmpdir, "alertnotify")
3737
self.blocknotify_dir = os.path.join(self.options.tmpdir, "blocknotify")
3838
self.walletnotify_dir = os.path.join(self.options.tmpdir, "walletnotify")

0 commit comments

Comments
 (0)