Catches distribution errors for travis

This commit is contained in:
Abhay Rana 2014-06-07 11:05:42 +05:30
parent ecc42c67ec
commit 0b4d6b4424
1 changed files with 1 additions and 1 deletions

View File

@ -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