From 4247afb0d214524e14df6431ad070af828e01cc7 Mon Sep 17 00:00:00 2001 From: Dan Blanchard Date: Mon, 6 Jan 2014 15:52:09 -0500 Subject: [PATCH 1/3] Update changelog and bump version to 0.7.6 --- drmaa/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drmaa/helpers.py b/drmaa/helpers.py index 8212e8f..6ca3ba4 100644 --- a/drmaa/helpers.py +++ b/drmaa/helpers.py @@ -200,13 +200,13 @@ def __init__(self, name): self.name = name def __set__(self, instance, value): - v = [] + vector = [] for k, v in value.items(): if isinstance(k, bytes): k = k.decode(ENCODING) if isinstance(v, bytes): v = v.decode(ENCODING) - v.append("{0}={1}".format(k, v).encode(ENCODING)) + vector.append("{0}={1}".format(k, v).encode(ENCODING)) c(drmaa_set_vector_attribute, instance, self.name, string_vector(v)) From af12cdcd60590d8e187091d939cfe4ee81f0f7f1 Mon Sep 17 00:00:00 2001 From: Dan Blanchard Date: Mon, 6 Jan 2014 15:54:41 -0500 Subject: [PATCH 2/3] Update changelog and bump version to 0.7.6 --- README.rst | 4 ++++ drmaa/version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 65f52f9..bc3612a 100644 --- a/README.rst +++ b/README.rst @@ -39,6 +39,10 @@ License Changelog ~~~~~~~~~ +- v0.7.6 + + - Fix a typo in ``DictAttribute`` that was causing a crash. + - v0.7.5 - Fix an issue where dictionary attributes (like ``jtEnvironment``) could diff --git a/drmaa/version.py b/drmaa/version.py index 5ba4a2b..d5b78e8 100644 --- a/drmaa/version.py +++ b/drmaa/version.py @@ -22,5 +22,5 @@ :author: Dan Blanchard (dblanchard@ets.org) ''' -__version__ = '0.7.5' +__version__ = '0.7.6' VERSION = tuple(int(x) for x in __version__.split('.')) From 6dfe23dd162286125408c4daff19bfe6cdb944fc Mon Sep 17 00:00:00 2001 From: Dan Blanchard Date: Mon, 6 Jan 2014 16:11:14 -0500 Subject: [PATCH 3/3] Yet another typo *sigh* --- drmaa/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drmaa/helpers.py b/drmaa/helpers.py index 6ca3ba4..43f4fd3 100644 --- a/drmaa/helpers.py +++ b/drmaa/helpers.py @@ -208,7 +208,7 @@ def __set__(self, instance, value): v = v.decode(ENCODING) vector.append("{0}={1}".format(k, v).encode(ENCODING)) c(drmaa_set_vector_attribute, instance, self.name, - string_vector(v)) + string_vector(vector)) def __get__(self, instance, _): x = [i.split('=', 1) for i in