0001-Fix-twisted-detection.patch 1005 B

1234567891011121314151617181920212223242526272829
  1. From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
  2. From: Thomas Klausner <wiz@NetBSD.org>
  3. Date: Tue, 10 May 2016 00:14:33 +0200
  4. Subject: [PATCH] Fix twisted detection.
  5. Addresses https://github.com/coherence-project/Coherence/issues/25
  6. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
  7. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
  8. ---
  9. coherence/__init__.py | 2 --
  10. 1 file changed, 2 deletions(-)
  11. diff --git a/coherence/__init__.py b/coherence/__init__.py
  12. index 2e4e8f1..4c4d73d 100644
  13. --- a/coherence/__init__.py
  14. +++ b/coherence/__init__.py
  15. @@ -24,8 +24,6 @@ try:
  16. if twisted_version < Version("twisted", 2, 5, 0):
  17. raise ImportError("Twisted >= 2.5 is required. Please install it.")
  18. - if twisted_web_version < Version("twisted.web", 2, 5, 0):
  19. - raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
  20. except ImportError, exc:
  21. # log error to stderr, might be useful for debugging purpose
  22. for arg in exc.args:
  23. --
  24. 2.8.1