Skip to content

Commit

Permalink
Merge branch 'fix_python_comp_check' into 'master'
Browse files Browse the repository at this point in the history
Fix AttributeError thrown due to python2 compatibility changes

See merge request evernym/utilities/devlab!16
  • Loading branch information
absltkaos committed Aug 2, 2022
2 parents 31b5cdf + 7984d02 commit 5c68a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devlab_bench/actions/global_restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def action(**kwargs):
)
containers = global_devlab_docker.get_containers()[1]
project_map = {}
log.info("containers='%s'", containers)
log.info("Devlab related containers to restart: '%s'", containers)
for cont in containers:
cont_name = cont['name']
comp_name = cont_name
Expand Down
2 changes: 1 addition & 1 deletion devlab_bench/helpers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def home(self=None): #pylint: disable=bad-staticmethod-argument,unused-argument
Return the expanded path to the user's home
"""
return os.path.expanduser('~')
except NameError:
except AttributeError:
#Python3
text_input = input #pylint: disable=invalid-name
quote = shlex.quote #pylint: disable=invalid-name
Expand Down

0 comments on commit 5c68a73

Please sign in to comment.