Guest User

Untitled

a guest
Jul 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. diff --git a/src/geoserver/catalog.py b/src/geoserver/catalog.py
  2. index 8f5331e..4f0a2e5 100644
  3. --- a/src/geoserver/catalog.py
  4. +++ b/src/geoserver/catalog.py
  5. @@ -56,6 +56,12 @@ class Catalog(object):
  6. None,
  7. self.http
  8. ))
  9. + orig_req = self.http.request
  10. + def wrapped_request(*args, **kwargs):
  11. + print 'REQUEST', args, kwargs, 'END REQUEST'
  12. + return orig_req(*args, **kwargs)
  13. + self.http.request = wrapped_request
  14. +
  15. self._cache = dict()
  16.  
  17. def add(self, object):
Add Comment
Please, Sign In to add comment