Check for the correct exception

This commit is contained in:
Roberto Rosario
2014-07-16 13:47:32 -04:00
parent 9d49602dda
commit 53f4619a9c

View File

@@ -13,7 +13,7 @@ import sh
try:
from sh import lsb_release, uname
except sh.CommandNotFound:
except ImportError:
LSB = False
else:
LSB = True