Skip to content

Commit 57638d2

Browse files
Turtdletheborch
authored andcommitted
fix:trailing slash breaks in py3.14
1 parent 74bc6c5 commit 57638d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pybritive/britive_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def _get_app_type(self, application_id):
612612
return next(
613613
iter(
614614
a['catalogAppName']
615-
for a in self.b.get(f'{self.b.base_url}/access/apps/')
615+
for a in self.b.get(f'{self.b.base_url}/access/apps')
616616
if a['appContainerId'] == application_id
617617
)
618618
)
@@ -1303,14 +1303,14 @@ def _convert_names_to_ids(self, profile_name: str, environment_name: str, applic
13031303
app_id = next(
13041304
iter(
13051305
a['appContainerId']
1306-
for a in self.b.get(f'{self.b.base_url}/access/apps/')
1306+
for a in self.b.get(f'{self.b.base_url}/access/apps')
13071307
if a['catalogAppDisplayName'].lower() == application_name
13081308
)
13091309
)
13101310
env_id = next(
13111311
iter(
13121312
e['environmentId']
1313-
for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments/')
1313+
for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments')
13141314
if e['environmentName'].lower() == environment_name
13151315
or e['environmentId'] == environment_name
13161316
or e['alternateEnvironmentName'].lower() == environment_name

0 commit comments

Comments
 (0)