Skip to content

Commit c65eca5

Browse files
committed
Merge branch 'release/0.7.6'
2 parents 2ae54b2 + 6dfe23d commit c65eca5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ License
3939
Changelog
4040
~~~~~~~~~
4141

42+
- v0.7.6
43+
44+
- Fix a typo in ``DictAttribute`` that was causing a crash.
45+
4246
- v0.7.5
4347

4448
- Fix an issue where dictionary attributes (like ``jtEnvironment``) could

drmaa/helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ def __init__(self, name):
200200
self.name = name
201201

202202
def __set__(self, instance, value):
203-
v = []
203+
vector = []
204204
for k, v in value.items():
205205
if isinstance(k, bytes):
206206
k = k.decode(ENCODING)
207207
if isinstance(v, bytes):
208208
v = v.decode(ENCODING)
209-
v.append("{0}={1}".format(k, v).encode(ENCODING))
209+
vector.append("{0}={1}".format(k, v).encode(ENCODING))
210210
c(drmaa_set_vector_attribute, instance, self.name,
211-
string_vector(v))
211+
string_vector(vector))
212212

213213
def __get__(self, instance, _):
214214
x = [i.split('=', 1) for i in

drmaa/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
:author: Dan Blanchard ([email protected])
2323
'''
2424

25-
__version__ = '0.7.5'
25+
__version__ = '0.7.6'
2626
VERSION = tuple(int(x) for x in __version__.split('.'))

0 commit comments

Comments
 (0)