Skip to content

Commit

Permalink
Update oci_bastion.py
Browse files Browse the repository at this point in the history
compatible 3.8
  • Loading branch information
jiri-otoupal committed Mar 15, 2024
1 parent 840f0da commit 1649248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abst/bastion_support/oci_bastion.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, context_name=None, region=None, direct_json_path=None):
self.lb = LocalBroadcast(broadcast_shm_name)
self.lb.store_json(context_name, {"region": self.region})

def __mark_used__(self, path: Path | None = None):
def __mark_used__(self, path: Optional[Path] = None):
if path is None:
cfg_path = Bastion.get_creds_path_resolve(self.context_name)
else:
Expand Down

0 comments on commit 1649248

Please sign in to comment.