[dbapi] update renamed argument

authorSylvain Th?nault <sylvain.thenault@logilab.fr>
changesetee76e8e72776
branchdefault
phasepublic
hiddenno
parent revision#8ca424bc393b [dbapi] cleanup shared data api: let access to transaction from dbapi, we can write it after all... Also, querydata is better named txdata
child revision#6f3b4f20ee9f backport stable
files modified by this revision
web/views/editcontroller.py
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1280214415 -7200
# Tue Jul 27 09:06:55 2010 +0200
# Node ID ee76e8e72776f901cc2b78b3ab0d322187980cea
# Parent 8ca424bc393b5517b83c0e9808780ec1dabbef6c
[dbapi] update renamed argument

diff --git a/web/views/editcontroller.py b/web/views/editcontroller.py
@@ -113,11 +113,11 @@
1          self.errors = []
2          self.relations_rql = []
3          form = req.form
4          # so we're able to know the main entity from the repository side
5          if '__maineid' in form:
6 -            req.set_shared_data('__maineid', form['__maineid'], querydata=True)
7 +            req.set_shared_data('__maineid', form['__maineid'], txdata=True)
8          # no specific action, generic edition
9          self._to_create = req.data['eidmap'] = {}
10          self._pending_fields = req.data['pendingfields'] = set()
11          try:
12              methodname = req.form.pop('__method', None)