Skip to content

Commit

Permalink
baas2: Same encoding string everywhere
Browse files Browse the repository at this point in the history
While "utf8" works it seems python docs in general talks about "utf-8"
and it is what we are using in all other places in the code so make this
the same also.
  • Loading branch information
eest committed Oct 3, 2024
1 parent 94f6951 commit 113ff03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/baas2/sunet-baas2-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_installed_version() -> Union[str, None]:
check=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
encoding="utf8",
encoding="utf-8",
)
except subprocess.CalledProcessError as exc:
# If the package is not installed this is OK, we will install it
Expand Down
2 changes: 1 addition & 1 deletion files/baas2/sunet-baas2-tbmr-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_installed_version() -> Union[str, None]:
check=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
encoding="utf8",
encoding="utf-8",
)
except subprocess.CalledProcessError as exc:
# If the package is not installed this is OK, we will install it
Expand Down

0 comments on commit 113ff03

Please sign in to comment.