Opened 12 years ago

Closed 12 years ago

#6524 closed (fixed)

[patch] bug in serialization documentation example code

Reported by: Matthew Flanagan <mattimustang@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: serialization
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no



Here is a small inline patch for the doc bug:

Index: docs/serialization.txt
--- docs/serialization.txt      (revision 7049)
+++ docs/serialization.txt      (working copy)
@@ -88,7 +88,7 @@

     for deserialized_object in serializers.deserialize("xml", data):
         if object_should_be_saved(deserialized_object):

 In other words, the usual use is to examine the deserialized objects to make
 sure that they are "appropriate" for saving before doing so.  Of course, if you trust your data source you could just save the object and move on.

Change History (2)

comment:1 Changed 12 years ago by GabrielRoss

Triage Stage: UnreviewedAccepted

comment:2 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7130]) Fixed a few errors in the documentation. Thanks, Matthew Flanagan, panni@… and adamv.

Fixed #6411, #6426, #6524, #6555.

Note: See TracTickets for help on using tickets.
Back to Top