summaryrefslogtreecommitdiffstats
path: root/package/python-coherence/0001-Fix-twisted-detection.patch
blob: c0e51b9e3156e4a612d6cdd833b4caf2947439f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
From: Thomas Klausner <wiz@NetBSD.org>
Date: Tue, 10 May 2016 00:14:33 +0200
Subject: [PATCH] Fix twisted detection.

Addresses https://github.com/coherence-project/Coherence/issues/25

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 coherence/__init__.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/coherence/__init__.py b/coherence/__init__.py
index 2e4e8f1..4c4d73d 100644
--- a/coherence/__init__.py
+++ b/coherence/__init__.py
@@ -24,8 +24,6 @@ try:
     if twisted_version < Version("twisted", 2, 5, 0):
         raise ImportError("Twisted >= 2.5 is required. Please install it.")
 
-    if twisted_web_version < Version("twisted.web", 2, 5, 0):
-        raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
 except ImportError, exc:
     # log error to stderr, might be useful for debugging purpose
     for arg in exc.args:
-- 
2.8.1

OpenPOWER on IntegriCloud