move _MARKER from appobject to web.request tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 17 Feb 2009 14:48:10 +0100
branchtls-sprint
changeset 662 6f867ab70e3d
parent 661 4f61eb8a96b7
child 663 482d39578366
move _MARKER from appobject to web.request
common/appobject.py
web/request.py
--- a/common/appobject.py	Tue Feb 17 14:45:54 2009 +0100
+++ b/common/appobject.py	Tue Feb 17 14:48:10 2009 +0100
@@ -23,7 +23,6 @@
 from cubicweb.common.registerers import yes_registerer, priority_registerer
 from cubicweb.common.selectors import yes
 
-_MARKER = object()
 
 
 class Cache(dict):    
--- a/web/request.py	Tue Feb 17 14:45:54 2009 +0100
+++ b/web/request.py	Tue Feb 17 14:48:10 2009 +0100
@@ -1,7 +1,7 @@
 """abstract class for http request
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
@@ -18,15 +18,15 @@
 
 from logilab.common.decorators import cached
 
-# XXX move _MARKER here once AppObject.external_resource has been removed
 from cubicweb.dbapi import DBAPIRequest
-from cubicweb.common.appobject import _MARKER 
 from cubicweb.common.mail import header
 from cubicweb.common.uilib import remove_html_tags
 from cubicweb.common.utils import SizeConstrainedList, HTMLHead
 from cubicweb.web import (INTERNAL_FIELD_VALUE, LOGGER, NothingToEdit, RequestError,
                        StatusResponse)
 
+_MARKER = object()
+
 
 def list_form_param(form, param, pop=False):
     """get param from form parameters and return its value as a list,