From aaa66b62687455d133615f340d8bacf87ba635f2 Mon Sep 17 00:00:00 2001 From: Martin Carton Date: Fri, 24 Jul 2015 16:33:53 +0200 Subject: [PATCH 1/2] Make a `sudo` pattern more general ``` % mount -o uid=martin /dev/sdc1 mnt mount: only root can use "--options" option ``` --- thefuck/rules/sudo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 97b7a5e0..1f7cea53 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -13,7 +13,7 @@ patterns = ['permission denied', 'must be root', 'need to be root', 'need root', - 'only root can do that', + 'only root can ', 'You don\'t have access to the history DB.', 'authentication is required'] From fb8174b5e5774ecff525f88dcf8256126dc15ae7 Mon Sep 17 00:00:00 2001 From: SanketDG Date: Fri, 24 Jul 2015 21:45:01 +0530 Subject: [PATCH 2/2] fix description not appearing on pypi page --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 2a9acf13..5fc87d9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,4 @@ [bdist_wheel] universal = 1 +[metadata] +description-file = README.md