@@ -149,14 +149,14 @@ def login(ctx: Context, username, password) -> None:
149149 print_json (user_data )
150150 else :
151151 log (f"Log in { username } …" )
152- log (f' Welcome to QFieldCloud, { user_data [" username" ]} .' )
152+ log (f" Welcome to QFieldCloud, { user_data [' username' ]} ." )
153153 log (
154154 "QFieldCloud has generated a secret token to identify you. "
155155 "Put the token in your in the environment using the following code, "
156156 "so you do not need to write your username and password again:"
157157 )
158158 if platform .system () == "Windows" :
159- log (f' set QFIELDCLOUD_TOKEN={ user_data [" token" ] } ' )
159+ log (f" set QFIELDCLOUD_TOKEN={ user_data [' token' ] } " )
160160 else :
161161 log (f'export QFIELDCLOUD_TOKEN="{ user_data ["token" ]} "' )
162162
@@ -264,7 +264,7 @@ def list_files(ctx: Context, project_id, skip_metadata):
264264 if files :
265265 log (f'Files for project "{ project_id } ":' )
266266 for file in files :
267- log (f' { file [" last_modified" ]} \t { file [" name" ] } ' )
267+ log (f" { file [' last_modified' ]} \t { file [' name' ] } " )
268268 else :
269269 log (f'No files within project "{ project_id } "' )
270270
@@ -545,7 +545,7 @@ def job_status(ctx: Context, job_id):
545545 print_json (status )
546546 else :
547547 log (f'Getting job "{ job_id } " status…' )
548- log (f' Job status for { job_id } : { status [" status" ] } ' )
548+ log (f" Job status for { job_id } : { status [' status' ] } " )
549549
550550
551551@cli .command (short_help = "Push a delta file to a project." )
@@ -576,7 +576,7 @@ def package_latest(ctx: Context, project_id):
576576 print_json (status )
577577 else :
578578 log (f'Getting the latest project "{ project_id } " package info…' )
579- log (f' Packaging status for { project_id } : { status [" status" ] } ' )
579+ log (f" Packaging status for { project_id } : { status [' status' ] } " )
580580 if status ["layers" ] is None :
581581 if status ["status" ] == "failed" :
582582 log ("Packaging have never been triggered on this project. Please run:" )
@@ -634,7 +634,7 @@ def package_download(
634634 if files :
635635 log (f"Download status of packaged files in project { project_id } :" )
636636 for file in files :
637- log (f' { file [" status" ].value } \t { file [" name" ] } ' )
637+ log (f" { file [' status' ].value } \t { file [' name' ] } " )
638638 else :
639639 if filter_glob :
640640 log (
@@ -656,7 +656,7 @@ def collaborators_get(ctx: Context, project_id: str) -> None:
656656 else :
657657 log (f'Collaborators for project with id "{ project_id } ":' )
658658 for collaborator in collaborators :
659- log (f' { collaborator [" collaborator" ]} \t { collaborator [" role" ] } ' )
659+ log (f" { collaborator [' collaborator' ]} \t { collaborator [' role' ] } " )
660660
661661
662662@cli .command (short_help = "Add a project collaborator." )
@@ -725,7 +725,7 @@ def members_get(ctx: Context, organization: str) -> None:
725725 else :
726726 log (f'Members of organization "{ organization } ":' )
727727 for membership in memberships :
728- log (f' { membership [" member" ]} \t { membership [" role" ] } ' )
728+ log (f" { membership [' member' ]} \t { membership [' role' ] } " )
729729
730730
731731@cli .command (short_help = "Add an organization member." )
@@ -799,7 +799,7 @@ def teams_list(ctx: Context, organization: str) -> None:
799799 else :
800800 log (f'Teams members in organization "{ organization } ":' )
801801 for object_team in teams_list :
802- log (f' { object_team [" team" ] } ' )
802+ log (f" { object_team [' team' ] } " )
803803
804804
805805@cli .command (name = "teams-create" , short_help = "Create an organization team." )
@@ -830,7 +830,7 @@ def teams_get(ctx: Context, organization: str, team_name: str) -> None:
830830 log (
831831 f'Team "{ object_team ["team" ]} " in organization "{ object_team ["organization" ]} ":'
832832 )
833- log (f' Members: { ", " .join (object_team [" members" ])} ' )
833+ log (f" Members: { ', ' .join (object_team [' members' ])} " )
834834
835835
836836@cli .command (name = "teams-patch" , short_help = "Rename an organization team." )
0 commit comments