Only try "lzma" module on ImportError

This commit is contained in:
Marc Joliet 2013-09-25 14:35:11 +02:00
parent 7d0722bc18
commit 4856567a2a

View file

@ -22,7 +22,7 @@ from deroff import Deroffer
try:
import backports.lzma as lzma
except:
except ImportError:
import lzma
# Whether we're Python 3