mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Only try "lzma" module on ImportError
This commit is contained in:
parent
7d0722bc18
commit
4856567a2a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ from deroff import Deroffer
|
|||
|
||||
try:
|
||||
import backports.lzma as lzma
|
||||
except:
|
||||
except ImportError:
|
||||
import lzma
|
||||
|
||||
# Whether we're Python 3
|
||||
|
|
Loading…
Reference in a new issue