Revision 43ee6ae1 kamaki/cli/commands/config_cli.py

b/kamaki/cli/commands/config_cli.py
20 20
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 21
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 22
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23
# USE, DATA, OR PROFITS; OR BUSINESS INTERaUPTION) HOWEVER CAUSED
24 24
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 25
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 26
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
......
64 64
        section, sep, key = option.rpartition('.')
65 65
        section = section or 'global'
66 66
        value = self.config.get(section, key)
67
        if value is not None:
67
        if value:
68 68
            print(value)
69 69

  
70 70

  

Also available in: Unified diff