sorted imports
This commit is contained in:
+7
-4
@@ -4,12 +4,13 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
|
||||||
from subprocess import Popen, PIPE, check_output
|
|
||||||
import config
|
|
||||||
from sys import exit
|
|
||||||
import re
|
import re
|
||||||
|
import subprocess
|
||||||
|
from functools import cache
|
||||||
|
from subprocess import PIPE, Popen, check_output
|
||||||
|
from sys import exit
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Erstes Backup muss für alle notwendigen Datasets durchgeführt werden mit
|
Erstes Backup muss für alle notwendigen Datasets durchgeführt werden mit
|
||||||
@@ -32,6 +33,8 @@ class Pool:
|
|||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|
||||||
|
@cache
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, backup_pools: dict[str, str]) -> Pool:
|
def from_dict(cls, backup_pools: dict[str, str]) -> Pool:
|
||||||
print("Suche nach externer Festplatte für Backups")
|
print("Suche nach externer Festplatte für Backups")
|
||||||
|
|||||||
Reference in New Issue
Block a user