# HG changeset patch # User durandn # Date 1446043612 -3600 # Node ID f1299d0f63384752d2a5318c87ac4e4b67c8018d # Parent 52ccdf3955acf97fbd6c0a13f1bc3a10d4fd87ea remove forgotten prints diff -r 52ccdf3955ac -r f1299d0f6338 src/ldt/ldt/api/ldt/resources/annotation.py --- a/src/ldt/ldt/api/ldt/resources/annotation.py Wed Oct 28 15:20:50 2015 +0100 +++ b/src/ldt/ldt/api/ldt/resources/annotation.py Wed Oct 28 15:46:52 2015 +0100 @@ -22,7 +22,7 @@ self.begin = begin self.end = end self.content = content if content is not None else {"title":"", "description":""} - self.tags = tags if tags is not None else [] + self.tags = tags if tags is not None else [] self.meta = meta if meta is not None else {"creator":"", "created":""} class AnnotationResource(Resource): @@ -187,7 +187,6 @@ finally: protect_models() # We update the AnnotationObject for the returned datas to be correct. - print(data_dict) bundle.obj = AnnotationObject( id=data_dict["ann_id"], project=data_dict["project_id"], @@ -201,8 +200,6 @@ tags=data_dict['ann_tags'], meta=data_dict['ann_meta'] ) - print(data_dict["ann_content"]) - print(bundle.obj.content) return bundle def obj_update(self, bundle, **kwargs):