From 28595988d61e60a241032b56962a409df816a360 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Wed, 25 Dec 2019 11:24:07 +0900 Subject: [PATCH] ZODB Components: Fix undefined variables introduced by 1ff851b. --- product/ERP5/Document/Coordinate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5/Document/Coordinate.py b/product/ERP5/Document/Coordinate.py index f60aac09d4..2d2b02855e 100644 --- a/product/ERP5/Document/Coordinate.py +++ b/product/ERP5/Document/Coordinate.py @@ -191,6 +191,7 @@ class Coordinate(Base): security.declarePrivate( '_writeFromPUT' ) def _writeFromPUT( self, body ): + headers = {} headers, body = parseHeadersBody(body, headers) lines = body.split( '\n' ) self.edit( lines[0] ) -- 2.30.9