Skip to content

Commit

Permalink
Bumped version to 0.10.1 and made JobException importable at the pack…
Browse files Browse the repository at this point in the history
…age level.
  • Loading branch information
dan-blanchard committed Sep 9, 2013
1 parent 3cbee1f commit 000b92a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion README.rst
Expand Up @@ -56,8 +56,13 @@ License
Changelog
~~~~~~~~~

- 0.10.1

+ Can now import ``JobException`` directly from ``gridmap`` package instead
of having to import from ``gridmap.job``.

- 0.10.0

+ Now raise a ``JobException`` instead of an ``Exception`` when one of the jobs has crashed.
+ Fixed potential pip installation issue from importing package for version number.

Expand Down
9 changes: 5 additions & 4 deletions gridmap/__init__.py
Expand Up @@ -47,11 +47,12 @@

from __future__ import absolute_import, print_function, unicode_literals

from gridmap.job import (Job, process_jobs, grid_map, pg_map, USE_MEM_FREE,
DEFAULT_QUEUE, REDIS_PORT, REDIS_DB)
from gridmap.job import (Job, JobException, process_jobs, grid_map, pg_map,
USE_MEM_FREE, DEFAULT_QUEUE, REDIS_PORT, REDIS_DB)
from gridmap.data import MAX_TRIES, SLEEP_TIME
from gridmap.version import __version__, VERSION

# For * imports
__all__ = ['Job', 'process_jobs', 'grid_map', 'pg_map', 'USE_MEM_FREE',
'DEFAULT_QUEUE', 'REDIS_DB', 'REDIS_PORT', 'MAX_TRIES', 'SLEEP_TIME']
__all__ = ['Job', 'JobException', 'process_jobs', 'grid_map', 'pg_map',
'USE_MEM_FREE', 'DEFAULT_QUEUE', 'REDIS_DB', 'REDIS_PORT',
'MAX_TRIES', 'SLEEP_TIME']
2 changes: 1 addition & 1 deletion gridmap/version.py
Expand Up @@ -28,5 +28,5 @@
:organization: ETS
'''

__version__ = '0.10.0'
__version__ = '0.10.1'
VERSION = tuple(int(x) for x in __version__.split('.'))

0 comments on commit 000b92a

Please sign in to comment.