taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit dcf2159fb93f8b62ea1cfebca7d72c780ff658d8
parent 70389e1b6cc463d18fc284976f5de28696fc8cd5
Author: ms <ms@taler.net>
Date:   Tue, 30 Nov 2021 20:53:44 +0100

taler-local

avoid use of dataclasses, as they aren't
supported by older Python 3.x versions.

Diffstat:
Mbin/WIP/taler-local | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local @@ -32,7 +32,6 @@ import json from os import listdir from os.path import isdir, join from pathlib import Path -from dataclasses import dataclass from typing import List, Callable from shutil import copy from multiprocessing import Process @@ -56,12 +55,12 @@ def print_nn(msg): print(msg, end="") sys.stdout.flush() -@dataclass class Repo: - name: str - url: str - deps: List[str] - builder: Callable[["Repo", Path], None] + def __init__(self, name, url, deps, builder): + self.name = name + self.url = url + self.deps = deps + self.builder = builder @click.group() def cli():