mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Only try "lzma" module on ImportError
This commit is contained in:
@@ -22,7 +22,7 @@ from deroff import Deroffer
|
||||
|
||||
try:
|
||||
import backports.lzma as lzma
|
||||
except:
|
||||
except ImportError:
|
||||
import lzma
|
||||
|
||||
# Whether we're Python 3
|
||||
|
||||
Reference in New Issue
Block a user