Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

Commit

Permalink
0.2.4 (#8)
Browse files Browse the repository at this point in the history
* 0.2.4 release
  • Loading branch information
gabrik committed Feb 11, 2019
1 parent 338aeec commit 58465b7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.


## [0.2.4] - 2019-02-11

### Fixed
- Align version number

### Changed

## [0.2.3] - 2019-02-11

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read(fname):

setup(
name='yaks',
version='0.2.3',
version='0.2.4',
author='ADLINK Advance Technology Office',
description='Python API to access the YAKS service',
long_description=read('README.md'),
Expand Down
5 changes: 3 additions & 2 deletions yaks/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ def check_reply_is_values(reply, msg):
if reply.mid == Message.VALUES and msg.corr_id == reply.corr_id:
return True
elif reply.mid == Message.ERROR:
raise 'Yaks refused connection because of {}'.format(reply.error_code)
raise RuntimeError(
'Yaks refused connection because of {}'.format(reply.error_code))
else:
raise 'Yaks replied with unexpected message'
raise RuntimeError('Yaks replied with unexpected message')


class Runtime(threading.Thread):
Expand Down

0 comments on commit 58465b7

Please sign in to comment.