Skip to content

Commit 221873e

Browse files
author
MarcoFalke
committed
Merge #19227: test: change blacklist to blocklist
6fc6416 change blacklist to blocklist (TrentZ) Pull request description: Let's use a more appropriate and clear word and discard the usage of the blacklist. Blocklist is clear and shall make everyone happy. ACKs for top commit: amitiuttarwar: ACK 6fc6416 jonatack: ACK 6fc6416 git grep shows these two lines to be the only uses of the word in the codebase other than for specifying colors for the GUI. sipsorcery: ACK 6fc6416 due to easy change. Tree-SHA512: 12fd55ad5c79f1a227da90c7fa730972aae6b74ab1f9df79ec1e7d0eca05c383ef7d6ef5f353620a01da344db915005339b62ca0884179d0f47fbefb084c9efc
2 parents 9ad6f14 + 6fc6416 commit 221873e

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)