Commit 412de316 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Fixed problem with error validation on AdminClient

parent 636b13c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@ Changes since 0.7.2
===========================
This section will document changes to the library since the last release

## Bug Fixes
- Fixed problem with status validation on the AdminClient

Changes from 0.7.1 to 0.7.2
===========================

+2 −0
Original line number Diff line number Diff line
@@ -32,11 +32,13 @@ class AdminClient(baseclient.BaseClient):
    def _process(self, op, *args, **kwargs):
        header, value = op.build(*args, **kwargs)
        try:
            r = None
            with self:
                # update header
                self.update_header(header)
                # send message synchronously
                r, v = self.send(header, value)
            operations._check_status(r)
            return op.parse(r,v)
        except Exception as e:
            return op.onError(e)