mirror of
https://github.com/thegeeklab/docker-autotag.git
synced 2024-06-02 07:49:39 +02:00
parent
c59240adc7
commit
78545eeae5
|
@ -2,7 +2,6 @@
|
|||
|
||||
import os
|
||||
from distutils.util import strtobool
|
||||
from typing import ClassVar
|
||||
|
||||
|
||||
def normalize_path(path):
|
||||
|
@ -29,7 +28,7 @@ def to_prerelease(tup):
|
|||
class Singleton(type):
|
||||
"""Meta singleton class."""
|
||||
|
||||
_instances: ClassVar[dict] = {}
|
||||
_instances = {}
|
||||
|
||||
def __call__(cls, *args, **kwargs):
|
||||
if cls not in cls._instances:
|
||||
|
|
Loading…
Reference in New Issue
Block a user