| 1 |
Fromscip-debian debian crochet 2.1.1-3 crochet/patches/`0002-The-raise-syntax-no-longer-accepts-comma-separated-a.patch`#From.: Sergio de Almeida Cipriano Junior <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian crochet 2.1.1-3 crochet/patches/`0002-The-raise-syntax-no-longer-accepts-comma-separated-a.patch`#Date.: Fri, 16 Apr 2021 23:36:09 -0300 |
| 3 |
Subjectscip-debian debian crochet 2.1.1-3 crochet/patches/`0002-The-raise-syntax-no-longer-accepts-comma-separated-a.patch`#Subject.: The raise syntax no longer accepts comma-separated arguments |
| 4 |
Forwardedscip-debian debian crochet 2.1.1-3 crochet/patches/`0002-The-raise-syntax-no-longer-accepts-comma-separated-a.patch`#Forwarded.: not-needed |
| 5 |
|
| 6 |
--- |
| 7 |
examples/fromtwisted.py | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/examples/fromtwisted.pyscip-debian debian crochet 2.1.1-3 crochet/upstream/`examples/fromtwisted.py`: b/examples/fromtwisted.pyscip-debian debian crochet 2.1.1-3 crochet/upstream/`examples/fromtwisted.py`: |
| 11 |
index 641720c..f80dcef 100644 |
| 12 |
--- a/examples/fromtwisted.py |
| 13 |
+++ b/examples/fromtwisted.py |
| 14 |
@@ -21,7 +21,7 @@ def application(environ, start_response): |
| 15 |
try: |
| 16 |
ip = gethostbyname('twistedmatrix.com') |
| 17 |
return "%s has IP %s" % ('twistedmatrix.com', ip) |
| 18 |
|
| 19 |
+ except Exception as e: |
| 20 |
return 'Error doing lookup: %s' % (e,) |
| 21 |
|
| 22 |
# A blocking API that will be called from the WSGI application, but actually |