Make encoding only for python version < 3
Created by: jmborr
Description of Work:
-
Utility function for encoding a string when python version < 3 -
substitute the calls to str.encode()
method with the utility function
During the maintenance period on Monday, 14 Oct 2024, all new projects will no longer create a container registry as part of the project area. Already existing projects will be unaffected at this time. Instead, users should utilize the official ORNL container registries at camden.ornl.gov (internal/moderate) and savannah.ornl.gov (external/low). Please see ORNL Today article for more info.
Admins will be upgrading ORNL GitLab Servers on Monday, 11 Nov 2024, from 5 PM until 7 PM EST. Repositories will experience intermittent outages during this time.
Created by: jmborr
Description of Work:
str.encode()
method with the utility function