Skip to content

Commit 4247afb

Browse files
committed
Update changelog and bump version to 0.7.6
1 parent 5225fd9 commit 4247afb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drmaa/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,13 @@ 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,
211211
string_vector(v))
212212

0 commit comments

Comments
 (0)