def setDefaultFetcher(fetcher, wrap_exceptions=True):
 global _default_fetcher
 if ((fetcher is None) or (not wrap_exceptions)):
  _default_fetcher = fetcher
 else:
  _default_fetcher = ExceptionWrappingFetcher(fetcher)

def setDefaultFetcher ( fetcher , wrap_exceptions = True ) : global _default_fetcher if ( ( fetcher is None ) or ( not wrap_exceptions ) ) : _default_fetcher = fetcher else : _default_fetcher = ExceptionWrappingFetcher ( fetcher )
set the default fetcher .