* subversion/bindings/swig/python/svn/core.py   (svn_pool_destroy): Followup to r17639. Check more carefully whether the   application_pool is valid before allowing child pools to be destroyed.
* subversion/bindings/swig/python/svn/core.py
  (svn_pool_destroy): Followup to r17639. Check more carefully whether the
  application_pool is valid before allowing child pools to be destroyed.

NOTE: Fixes warnings about assertion failures reported during garbage
      collection when running Trac 0.9.x in CGI mode. See
      http://projects.edgewall.com/trac/ticket/2472



git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@858066 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion