From 688765ad3f56446ba4d486d7bdda36dd255d7806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Wed, 12 Jun 2013 17:18:11 +0200 Subject: [PATCH] Single quote my love --- installsystems/config.py | 8 ++++---- installsystems/image.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/installsystems/config.py b/installsystems/config.py index b519404..a243094 100644 --- a/installsystems/config.py +++ b/installsystems/config.py @@ -32,7 +32,7 @@ from installsystems.repository import RepositoryConfig # This must not be an unicode string, because configobj don't decode configspec # with the provided encoding -MAIN_CONFIG_SPEC = """\ +MAIN_CONFIG_SPEC = '''\ [installsystems] verbosity = integer(0, 2) repo_config = string @@ -48,11 +48,11 @@ no_color = boolean nice = integer ionice_class = option("none", "rt", "be", "idle") ionice_level = integer -""" +''' # This must not be an unicode string, because configobj don't decode configspec # with the provided encoding -REPO_CONFIG_SPEC = """\ +REPO_CONFIG_SPEC = '''\ [__many__] path = string fmod = string @@ -62,7 +62,7 @@ REPO_CONFIG_SPEC = """\ offline = boolean lastpath = string dbpath = string -""" +''' class ConfigFile(object): diff --git a/installsystems/image.py b/installsystems/image.py index 722b560..b3bbdf6 100644 --- a/installsystems/image.py +++ b/installsystems/image.py @@ -50,7 +50,7 @@ from installsystems.tarball import Tarball # This must not be an unicode string, because configobj don't decode configspec # with the provided encoding -DESCRIPTION_CONFIG_SPEC = """\ +DESCRIPTION_CONFIG_SPEC = '''\ [image] name = IS_name version = IS_version @@ -60,7 +60,7 @@ is_min_version = IS_min_version [compressor] __many__ = force_list -""" +''' class Image(object): -- GitLab