From ef7b9964be7497d46712a70bc12905e21d366fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Dunand?= Date: Thu, 23 May 2013 17:24:05 +0200 Subject: [PATCH] Fix type validation for fmod and dmod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the dmod and fmod setter take a string as argument and convert them to a base 8 integer, we don't need to check and convert in integer with the configobj validator. Signed-off-by: Sébastien Luttringer --- installsystems/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installsystems/config.py b/installsystems/config.py index a9cb958..b519404 100644 --- a/installsystems/config.py +++ b/installsystems/config.py @@ -55,8 +55,8 @@ ionice_level = integer REPO_CONFIG_SPEC = """\ [__many__] path = string - fmod = integer - dmod = integer + fmod = string + dmod = string uid = string gid = string offline = boolean -- GitLab