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:
tobixx
2019-08-19 21:39:14 +02:00
committed by Vladimir Iakovlev
parent 01a5ba99d0
commit 3bbe391391
2 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -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