Skip to content

Commit

Permalink
Merge pull request #8 from haizaar/master
Browse files Browse the repository at this point in the history
Going 1.2.2
  • Loading branch information
haizaar committed Jun 22, 2015
2 parents 19baafc + 745e35e commit 76db2b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions krest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from __future__ import absolute_import

__version__ = "1.2.1"
__version__ = "1.2.2"

import json
import urlparse
Expand Down Expand Up @@ -255,7 +255,7 @@ def patch(self, ro, options={}):
return ro

def delete(self, ro, options={}):
self._request("DELETE", ro._obj_url, options=options)
self._request("DELETE", ro._obj_url, data=ro._changed, options=options)

def new(self, resource_type, bulk=False, meta=False, **attrs):
if self.validate_endpoints and resource_type not in self.resources:
Expand Down
2 changes: 1 addition & 1 deletion krest.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global pypi_name krest

Name: python-%{pypi_name}
Version: 1.2.1
Version: 1.2.2
Release: 1%{?dist}
Summary: Python client for Kaminario K2 REST interface

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 @@
"""

setup(name="krest",
version="1.2.1",
version="1.2.2",
py_modules=["krest"],
install_requires=["requests >= 2.0.0"],
maintainer="Zaar Hai",
Expand Down

0 comments on commit 76db2b0

Please sign in to comment.