[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: taler-local
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: taler-local |
Date: |
Tue, 30 Nov 2021 20:55:04 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new dcf2159 taler-local
dcf2159 is described below
commit dcf2159fb93f8b62ea1cfebca7d72c780ff658d8
Author: ms <ms@taler.net>
AuthorDate: Tue Nov 30 20:53:44 2021 +0100
taler-local
avoid use of dataclasses, as they aren't
supported by older Python 3.x versions.
---
bin/WIP/taler-local | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local
index 95b5bea..dbfcc97 100755
--- 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():
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.