Commit b11628f4 by Tom Christie

Revert comment.

parent fdd35cd2
...@@ -129,7 +129,7 @@ The first thing we need to get started on our Web API is provide a way of serial ...@@ -129,7 +129,7 @@ The first thing we need to get started on our Web API is provide a way of serial
Create or update a new snippet instance. Create or update a new snippet instance.
""" """
if instance: if instance:
# Update existing instance or part of it # Update existing instance
instance.title = attrs.get('title', instance.title) instance.title = attrs.get('title', instance.title)
instance.code = attrs.get('code', instance.code) instance.code = attrs.get('code', instance.code)
instance.linenos = attrs.get('linenos', instance.linenos) instance.linenos = attrs.get('linenos', instance.linenos)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment