Skip to content

Commit 9c1494d

Browse files
authored
Fixes issue with exaslct upload and fixes some typos (#111)
1 parent f2990b6 commit 9c1494d

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

exaslct_src/cli/commands/upload.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@add_options(docker_repository_options)
3030
@add_options(system_options)
3131
def upload(flavor_path: Tuple[str, ...],
32-
release_goal: str,
32+
release_goal: Tuple[str,...],
3333
database_host: str,
3434
bucketfs_port: int,
3535
bucketfs_username: str,
@@ -81,7 +81,7 @@ def upload(flavor_path: Tuple[str, ...],
8181

8282
set_job_id(UploadContainers.__name__)
8383
task_creator = lambda: UploadContainers(flavor_paths=list(flavor_path),
84-
release_goals=list([release_goal]),
84+
release_goals=list(release_goal),
8585
database_host=database_host,
8686
bucketfs_port=bucketfs_port,
8787
bucketfs_username=bucketfs_username,
@@ -97,4 +97,4 @@ def upload(flavor_path: Tuple[str, ...],
9797
with task.command_line_output_target.open("r") as f:
9898
print(f.read())
9999
else:
100-
exit(1)
100+
exit(1)

exaslct_src/lib/upload_container_base_task.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ def generate_command_line_output_str(self,
4949
except ValueError as e:
5050
release_path = Path(export_info.cache_file)
5151
command_line_output_str = textwrap.dedent(f"""
52-
Uploaded {release_path} to
52+
Uploaded {release_path} to
5353
{self._get_upload_url(export_info, without_login=True)}
54-
55-
56-
In SQL, you can activate the languages supported by the {flavor_name}
54+
55+
56+
In SQL, you can activate the languages supported by the {flavor_name}
5757
flavor by using the following statements:
58-
59-
60-
To active the flavor only for the current session:
61-
58+
59+
60+
To activate the flavor only for the current session:
61+
6262
{language_definition.generate_alter_session()}
63-
64-
65-
To active the flavor only for the current session:
66-
63+
64+
65+
To activate the flavor on the system:
66+
6767
{language_definition.generate_alter_system()}
6868
""")
6969
return command_line_output_str

exaslct_src/lib/upload_containers_parameter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55

66
class UploadContainersParameter(UploadContainerParameter):
7-
release_goals = luigi.ListParameter(["release"])
7+
release_goals = luigi.ListParameter(["release"])

0 commit comments

Comments
 (0)