From 7e3e9b8e9cea4f1bf78d127ffb915b79c854fdbe Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Tue, 1 May 2012 14:34:55 +0200 Subject: Remove old flagfile support. Implements blueprint remove-old-flagfile nova-manage can still be used to convert old flagfiles style files to new .ini files: $ ./bin/nova-manage config convert --help Usage: nova-manage config convert [options] Options: -h, --help show this help message and exit --infile= old-style flagfile to convert to config --outfile= path for output file. Writes configto stdout if not specified. Change-Id: Ib8fbbd858b1db7faef70d7d97955e5042bf378f2 Signed-off-by: Ghe Rivero --- nova/flags.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nova/flags.py') diff --git a/nova/flags.py b/nova/flags.py index 652d3465d..5b7421afc 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -30,7 +30,6 @@ import os import socket import sys -from nova.compat import flagfile from nova.openstack.common import cfg @@ -41,8 +40,7 @@ class NovaConfigOpts(cfg.CommonConfigOpts): self.disable_interspersed_args() def __call__(self, argv): - with flagfile.handle_flagfiles_managed(argv[1:]) as args: - return argv[:1] + super(NovaConfigOpts, self).__call__(args) + return argv[:1] + super(NovaConfigOpts, self).__call__(argv[1:]) FLAGS = NovaConfigOpts() -- cgit