Skip to content

Commit add9786

Browse files
committed
Use six.text_type
1 parent 09defa6 commit add9786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def create_container_config(
715715
'Hostname': hostname,
716716
'Domainname': domainname,
717717
'ExposedPorts': ports,
718-
'User': '{0}'.format(user) if user else None,
718+
'User': six.text_type(user) if user else None,
719719
'Tty': tty,
720720
'OpenStdin': stdin_open,
721721
'StdinOnce': stdin_once,

0 commit comments

Comments
 (0)