From 1ea0e8a86413e6995f25bdb17ca74b79b41a2ade Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Tue, 27 Nov 2012 12:40:36 +0100 Subject: [PATCH] ssconf: Remove unused regular expression RE_VALID_SSCONF_NAME is not used anywhere. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Michele Tartara <mtartara@google.com> --- lib/ssconf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ssconf.py b/lib/ssconf.py index 187b05764..bbc96062a 100644 --- a/lib/ssconf.py +++ b/lib/ssconf.py @@ -27,7 +27,6 @@ configuration data, which is mostly static and available to all nodes. """ import sys -import re import os import errno @@ -42,8 +41,6 @@ from ganeti import pathutils SSCONF_LOCK_TIMEOUT = 10 -RE_VALID_SSCONF_NAME = re.compile(r"^[-_a-z0-9]+$") - class SimpleConfigReader(object): """Simple class to read configuration file. -- GitLab