jamwt/diesel — pull request #84 by msabramo (2013-09-13 21:30:34+00:00)
Title: Handle fact that pyev.version() doesn't seem to exist in pyev==0.9.0

Without this PR on a Mac (so I need `pyev` because I don't have `select.epoll`):

```
(py27.venv)marca@marca-mac:~/dev/git-repos/diesel$ make -C tests
dnosetests unit/ integration/
Traceback (most recent call last):
File "/Users/marca/dev/git-repos/diesel/py27.venv/bin/dnosetests", line 9, in
load_entry_point('diesel==3.0.21', 'console_scripts', 'dnosetests')()
File "/Users/marca/dev/git-repos/diesel/diesel/dnosetests.py", line 17, in main
diesel.quickstart(nose.main)
File "/Users/marca/dev/git-repos/diesel/diesel/app.py", line 288, in quickstart
app.run()
File "/Users/marca/dev/git-repos/diesel/diesel/app.py", line 59, in run
log.warning('Starting diesel <{0}>', self.hub.describe)
File "/Users/marca/dev/git-repos/diesel/diesel/hub.py", line 308, in describe
pyev.version() + ({
AttributeError: 'module' object has no attribute 'version'
make: *** [test-core] Error 1
```

With this patch:

```
(py27.venv)marca@marca-mac:~/dev/git-repos/diesel$ make -C tests
dnosetests unit/ integration/
...................................................
----------------------------------------------------------------------
Ran 51 tests in 8.340s

OK
```