Skip to content

Commit

Permalink
Hello 0.1.2 version! for sacrud/pyramid_sacrud#107
Browse files Browse the repository at this point in the history
  • Loading branch information
uralbash committed Dec 2, 2015
1 parent b2a3686 commit 183cfb6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sacrud>=0.3.4
sacrud>=0.3.5
saexttype
colander>=1.0b1
deform>=2.0a2
Expand Down
3 changes: 1 addition & 2 deletions sacrud_deform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .widgets import HiddenCheckboxWidget


class JSONType(colander.String):
class JSONType(colander.SchemaType):
def serialize(self, node, appstruct):
if appstruct is colander.null:
return colander.null
Expand All @@ -33,7 +33,6 @@ def deserialize(self, node, cstruct):
return colander.null

try:
return json.loads(cstruct)
return cstruct
except Exception:
raise colander.Invalid(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def read(name):

setup(
name='sacrud_deform',
version="0.1.1",
version="0.1.2",
url='http://github.com/ITCase/sacrud_deform/',
author='Svintsov Dmitry',
author_email='[email protected]',
Expand Down

0 comments on commit 183cfb6

Please sign in to comment.