update patch
This commit is contained in:
parent
c3e3180191
commit
017f211457
1 changed files with 0 additions and 29 deletions
29
py3-12.patch
29
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
|
||||
|
|
Loading…
Add table
Reference in a new issue