diff --git a/installsystems/config.py b/installsystems/config.py index b5194040c5328b0c9f247b1940f4ce058149d37c..a2430942225769786a30e011d8d828d909c36780 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 722b5604679e310ace16ceb555a75eccc6334bac..b3bbdf651c89c14fa3f52cd12ff189bf46aed334 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):