Only consider raw command in output (#931)
* Only consider raw command in output match ... else it will not work for localized messages. Example German output: ``` Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. ``` * added german output test * make the linter happy
This commit is contained in:
committed by
Vladimir Iakovlev
parent
01a5ba99d0
commit
3bbe391391
@@ -8,7 +8,7 @@ enabled_by_default = apt_available
|
||||
@sudo_support
|
||||
@for_app('apt')
|
||||
def match(command):
|
||||
return "Run 'apt list --upgradable' to see them." in command.output
|
||||
return 'apt list --upgradable' in command.output
|
||||
|
||||
|
||||
@sudo_support
|
||||
|
||||
Reference in New Issue
Block a user