diff options
| author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-03-17 13:14:45 +0100 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-03-17 14:34:11 +0200 |
| commit | aedf9819765ae28dcc80f3f81e0ef8c707be5dba (patch) | |
| tree | 56c5797a0d7375b35f82d2dfbb95b79f5a91cd78 /dev-python/automat/files/automat-20.2.0-py311.patch | |
| parent | 6d557b52c81b6b00fb247e9eccb979ccfe57138a (diff) | |
| download | gentoo-aedf9819765ae28dcc80f3f81e0ef8c707be5dba.tar.gz gentoo-aedf9819765ae28dcc80f3f81e0ef8c707be5dba.tar.bz2 gentoo-aedf9819765ae28dcc80f3f81e0ef8c707be5dba.zip | |
dev-python/automat: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/automat/files/automat-20.2.0-py311.patch')
| -rw-r--r-- | dev-python/automat/files/automat-20.2.0-py311.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/automat/files/automat-20.2.0-py311.patch b/dev-python/automat/files/automat-20.2.0-py311.patch deleted file mode 100644 index 14ca69e7235d..000000000000 --- a/dev-python/automat/files/automat-20.2.0-py311.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/glyph/automat/commit/d0c2845ead9b8f576042d42134bfb5c63086be39 - -diff --git a/automat/_introspection.py b/automat/_introspection.py -index 3f7307d..403cddb 100644 ---- a/automat/_introspection.py -+++ b/automat/_introspection.py -@@ -6,6 +6,8 @@ - - - def copycode(template, changes): -+ if hasattr(code, "replace"): -+ return template.replace(**{"co_" + k : v for k, v in changes.items()}) - names = [ - "argcount", "nlocals", "stacksize", "flags", "code", "consts", - "names", "varnames", "filename", "name", "firstlineno", "lnotab", -@@ -23,7 +25,6 @@ def copycode(template, changes): - return code(*values) - - -- - def copyfunction(template, funcchanges, codechanges): - names = [ - "globals", "name", "defaults", "closure", |
