2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-22 22:58:31 +00:00

chore: remove unsupported annotations

these annotations dont work on python <3.9

closes https://github.com/frappe/bench/issues/1440
This commit is contained in:
Ankush Menat 2023-02-28 10:24:41 +05:30
parent 4ec73c3b92
commit 9fb55e6dca

View File

@ -73,7 +73,7 @@ def get_from_env(dir, file) -> Dict:
def write_to_env(
wd: str,
sites: list[str],
sites,
db_pass: str,
admin_pass: str,
email: str,
@ -317,8 +317,8 @@ if __name__ == "__main__":
"--sitename",
help="Site Name(s) for your production bench",
default=["site1.localhost"],
action='append',
dest='sites'
action="append",
dest="sites",
)
parser.add_argument("-n", "--project", help="Project Name", default="frappe")
parser.add_argument(