mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +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:
parent
1c403437b3
commit
96fc3ba973
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user