Guest User

Untitled

a guest
Jul 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. diff --git a/nosegae.py b/nosegae.py
  2. index 20338c6..7b364c2 100644
  3. --- a/nosegae.py
  4. +++ b/nosegae.py
  5. @@ -57,6 +57,15 @@ class NoseGAE(Plugin):
  6. if options.gae_lib_root is not None:
  7. root = self._gae_path = options.gae_lib_root
  8. sys.path.append(root)
  9. + EXTRA_PATHS = [
  10. + os.path.join(root, 'lib', 'antlr3'),
  11. + os.path.join(root, 'lib', 'django'),
  12. + os.path.join(root, 'lib', 'fancy_urllib'),
  13. + os.path.join(root, 'lib', 'ipaddr'),
  14. + os.path.join(root, 'lib', 'webob'),
  15. + os.path.join(root, 'lib', 'yaml', 'lib'),
  16. + ]
  17. + sys.path = EXTRA_PATHS + sys.path
  18. else:
  19. self._gae_path = None
  20. if options.gae_data is not None:
Add Comment
Please, Sign In to add comment