forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/celery: Add python3_6 to PYTHON_COMPAT
Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
dev-python/celery/files/celery-4.0.2-log-endless-loop.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 9c950b47eca2b4e93fd2fe52cf80f158e6cf97ad Mon Sep 17 00:00:00 2001 | ||
From: George Psarakis <[email protected]> | ||
Date: Mon, 23 Jan 2017 11:49:38 +0200 | ||
Subject: [PATCH] AWS DynamoDB result backend (#3736) | ||
|
||
* Fix endless loop in logger_isa (Python 3.6) | ||
|
||
https://github.com/celery/celery/pull/3736#issuecomment-274155454 | ||
|
||
diff --git a/celery/utils/log.py b/celery/utils/log.py | ||
index 2fb15e6..00df476 100644 | ||
--- a/celery/utils/log.py | ||
+++ b/celery/utils/log.py | ||
@@ -82,7 +82,7 @@ def logger_isa(l, p, max=1000): | ||
else: | ||
if this in seen: | ||
raise RuntimeError( | ||
- 'Logger {0!r} parents recursive'.format(l), | ||
+ 'Logger {0!r} parents recursive'.format(l.name), | ||
) | ||
seen.add(this) | ||
this = this.parent |