DNF module only enabled when DNF available and dynamically loads corrections

This commit is contained in:
Stef Pletinck
2017-10-05 16:40:17 +02:00
parent 16de31b9d6
commit d6b2c512f7
2 changed files with 21 additions and 31 deletions
+3
View File
@@ -0,0 +1,3 @@
from thefuck.utils import which
dnf_available = bool(which('dnf'))