From: Ann Kamyshnikova Date: Thu, 23 May 2013 09:33:30 +0000 (+0400) Subject: Add "_" builtin method for config generation X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9cdccf36c6d8a07cfdc3ee0e974736951317005b;p=openstack-build%2Fcinder-build.git Add "_" builtin method for config generation extract_opts.py fails to generate config without this bug 1183731 Change-Id: Icf3b45d5d7262607336f5d5e7a0a14b0dee9741d --- diff --git a/tools/conf/extract_opts.py b/tools/conf/extract_opts.py index db9e8d7a7..c34f2eefe 100644 --- a/tools/conf/extract_opts.py +++ b/tools/conf/extract_opts.py @@ -18,6 +18,8 @@ """Extracts OpenStack config option info from module(s).""" +import __builtin__ +setattr(__builtin__, '_', lambda x: x) import os import re import socket