Commit 688765ad authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

Single quote my love

parent 5e40d8e2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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):
+2 −2
Original line number Diff line number Diff line
@@ -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):