catch specific error

This commit is contained in:
David Boucha 2014-01-12 00:49:04 -07:00
parent 5830ee2588
commit 3bedc16784
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ import copy
import logging
try:
import msgpack
except:
except ImportError:
import msgpack_pure as msgpack
import os
import locale

View File

@ -17,7 +17,7 @@ import os
import yaml
try:
import msgpack
except:
except ImportError:
import msgpack_pure as msgpack
# Import salt libs