mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
fix some merging
This commit is contained in:
6
Utils.py
6
Utils.py
@@ -15,6 +15,7 @@ class Version(typing.NamedTuple):
|
|||||||
__version__ = "0.1.0"
|
__version__ = "0.1.0"
|
||||||
_version_tuple = tuplize_version(__version__)
|
_version_tuple = tuplize_version(__version__)
|
||||||
|
|
||||||
|
import builtins
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
@@ -378,11 +379,6 @@ safe_builtins = {
|
|||||||
'frozenset',
|
'frozenset',
|
||||||
}
|
}
|
||||||
|
|
||||||
safe_builtins = {
|
|
||||||
'set',
|
|
||||||
'frozenset',
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
class RestrictedUnpickler(pickle.Unpickler):
|
class RestrictedUnpickler(pickle.Unpickler):
|
||||||
def find_class(self, module, name):
|
def find_class(self, module, name):
|
||||||
|
|||||||
Reference in New Issue
Block a user