Browse Source

Remove six usage murano/contrib

Change-Id: I55cbf3c09aaf60918d5b97b0e8621b47016d0333
changes/30/721130/1
zhurong 1 year ago
parent
commit
035f4e3073
  1. 5
      contrib/plugins/murano_heat-translator_plugin/plugin/csar_package.py

5
contrib/plugins/murano_heat-translator_plugin/plugin/csar_package.py

@ -12,7 +12,6 @@
import os
import shutil
import six
import sys
import yaml
import zipfile
@ -271,9 +270,9 @@ class CSARPackage(package_base.PackageBase):
@staticmethod
def _format_value(value):
if isinstance(value, six.string_types):
if isinstance(value, str):
return u"{}".format(value)
return six.text_type(value)
return str(value)
@staticmethod
def _generate_workflow(csar, files):

Loading…
Cancel
Save