2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-23 15:08:24 +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( def write_to_env(
wd: str, wd: str,
sites: list[str], sites,
db_pass: str, db_pass: str,
admin_pass: str, admin_pass: str,
email: str, email: str,
@ -317,8 +317,8 @@ if __name__ == "__main__":
"--sitename", "--sitename",
help="Site Name(s) for your production bench", help="Site Name(s) for your production bench",
default=["site1.localhost"], default=["site1.localhost"],
action='append', action="append",
dest='sites' dest="sites",
) )
parser.add_argument("-n", "--project", help="Project Name", default="frappe") parser.add_argument("-n", "--project", help="Project Name", default="frappe")
parser.add_argument( parser.add_argument(