1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-10-31 22:47:05 +01:00

Doorlock.py: make eperm_insults a list

choose_insult fails with a dict, so make it a list.

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2023-11-04 22:28:06 +01:00
parent 1c403437b3
commit 96fc3ba973

View File

@ -31,7 +31,7 @@ from .Protocol import Protocol
log = logging.getLogger() log = logging.getLogger()
# copied from sudo # copied from sudo
eperm_insults = { eperm_insults = [
'Wrong! You cheating scum!', 'Wrong! You cheating scum!',
'And you call yourself a Rocket Scientist!', 'And you call yourself a Rocket Scientist!',
'No soap, honkie-lips.', 'No soap, honkie-lips.',
@ -50,7 +50,7 @@ eperm_insults = {
'I\'ve seen penguins that can type better than that.', 'I\'ve seen penguins that can type better than that.',
'Have you considered trying to match wits with a rutabaga?', 'Have you considered trying to match wits with a rutabaga?',
'You speak an infinite deal of nothing', 'You speak an infinite deal of nothing',
} ]
def choose_insult(): def choose_insult():