Skip to content

Commit 8c78862

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Drop remaining usage of six"
2 parents 355dc12 + 563cb86 commit 8c78862

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)