Catches distribution errors for travis
This commit is contained in:
parent
ecc42c67ec
commit
0b4d6b4424
|
@ -27,7 +27,7 @@ try:
|
|||
import pkg_resources
|
||||
|
||||
__version = pkg_resources.require("hackertray")[0].version
|
||||
except ImportError:
|
||||
except:
|
||||
__version = "Can't read version number."
|
||||
|
||||
from hackernews import HackerNews
|
||||
|
|
Loading…
Reference in New Issue