Ignore:
Timestamp:
10 Dec 2012, 01:09:15 (12 years ago)
Author:
uli
Message:

Fix nasty problem that arises with virtual export containers: they are
not persisted and therefore no proper ZODB root could be found before
this fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/async.py

    r9217 r9792  
    117117
    118118    def _get_site(self, site):
    119         if site is None:
     119        # in fact we get some persisted object if available.
     120        # As sites are normally persisted and easy to lookup, we use them
     121        # to get _some_ persisted object.
     122        if not hasattr(site, '_p_jar'):
    120123            site = getSite()
    121124            if site is None:
Note: See TracChangeset for help on using the changeset viewer.