Skip to content

Commit 563cb86

Browse files
committed
Drop remaining usage of six
It is no longer needed since python 2 support was removed some time ago. Change-Id: Ieb72a7d5378a45e5680f8296b06ec3e71715a268
1 parent 90a8bb9 commit 563cb86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dockerfiles/heat-container-agent/scripts/55-heat-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import os
1818
import shutil
1919
import stat
2020
import subprocess
21-
import six
2221
import sys
2322

2423
import requests
@@ -94,7 +93,7 @@ def invoke_hook(c, log):
9493
hot_inputs = c.get('inputs', [])
9594
for hot_input in hot_inputs:
9695
if hot_input.get('type', None) == 'String' and \
97-
not isinstance(hot_input['value'], six.string_types):
96+
not isinstance(hot_input['value'], str):
9897
hot_input['value'] = str(hot_input['value'])
9998
iv = dict((i['name'], i['value']) for i in c['inputs'])
10099
# The group property indicates whether it is softwarecomponent or

0 commit comments

Comments
 (0)