Преглед изворни кода

Made OpenStack Export Provider event string format quoting consistent.

Nashwan Azhari пре 9 година
родитељ
комит
834a667fcc
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      coriolis/providers/openstack/exp.py

+ 2 - 2
coriolis/providers/openstack/exp.py

@@ -86,10 +86,10 @@ class ExportProvider(base.BaseExportProvider, base.BaseReplicaExportProvider):
                 os_type = image.properties['os_type']
                 os_type = image.properties['os_type']
             else:
             else:
                 self._event_manager.progress_update(
                 self._event_manager.progress_update(
-                    "Image os_distro not set, defaulting to '%s'" % os_type)
+                    "Image os_distro not set, defaulting to \"%s\"" % os_type)
         elif os_distro not in self._OS_DISTRO_MAP:
         elif os_distro not in self._OS_DISTRO_MAP:
             self._event_manager.progress_update(
             self._event_manager.progress_update(
-                "Image os_distro '%s' not found, defaulting to '%s'" %
+                "Image os_distro \"%s\" not found, defaulting to \"%s\"" %
                 (os_distro, os_type))
                 (os_distro, os_type))
         else:
         else:
             os_type = self._OS_DISTRO_MAP[os_distro]
             os_type = self._OS_DISTRO_MAP[os_distro]