From 9cdccf36c6d8a07cfdc3ee0e974736951317005b Mon Sep 17 00:00:00 2001 From: Ann Kamyshnikova Date: Thu, 23 May 2013 13:33:30 +0400 Subject: [PATCH] Add "_" builtin method for config generation extract_opts.py fails to generate config without this bug 1183731 Change-Id: Icf3b45d5d7262607336f5d5e7a0a14b0dee9741d --- tools/conf/extract_opts.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2