From 5dfc1596a0b0a772d84e6f95008e26d5ba693b1f Mon Sep 17 00:00:00 2001 From: nyyu Date: Sat, 13 Jan 2024 22:07:33 +0100 Subject: [PATCH] update patch --- py3-12.patch | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/py3-12.patch b/py3-12.patch index e999b13..1f9fe1e 100644 --- a/py3-12.patch +++ b/py3-12.patch @@ -1,32 +1,3 @@ -diff --git a/pyload/core/utils/check.py b/pyload/core/utils/check.py -index 3c98fd490..4f135cf0b 100644 ---- a/pyload/core/utils/check.py -+++ b/pyload/core/utils/check.py -@@ -1,6 +1,5 @@ - # -*- coding: utf-8 -*- - --import imp - from collections.abc import Iterable, Mapping, Sequence - - -@@ -54,17 +53,6 @@ def is_mapping(obj): - return isinstance(obj, Mapping) - - --def is_module(name, path=None): -- """Check if exists a module with given name.""" -- try: -- fp, _, _ = imp.find_module(name, path) -- if fp is not None: -- fp.close() -- return True -- except ImportError: -- return False -- -- - def missing(iterable, start=None, end=None): - """List all the values between 'start' and 'stop' that are missing from 'iterable'.""" - iter_seq = set(map(int, iterable)) diff --git a/pyload/core/utils/misc.py b/pyload/core/utils/misc.py index 6d2f23cc5..96d931108 100644 --- a/pyload/core/utils/misc.py