Fail CI build on Sphinx warnings

This commit is contained in:
krzychb
2017-09-06 21:16:34 +02:00
parent 1f8d93f0eb
commit 59792bb2c3
6 changed files with 34 additions and 5 deletions
+3 -1
View File
@@ -69,6 +69,7 @@ might add it in a safe way as a client API instead."""
import os
import re
import sys
import platform
# File layout:
#
@@ -165,7 +166,8 @@ class Config(object):
self.m = register_special_symbol(TRISTATE, "m", "m")
self.y = register_special_symbol(TRISTATE, "y", "y")
# DEFCONFIG_LIST uses this
register_special_symbol(STRING, "UNAME_RELEASE", os.uname()[2])
# changed os.uname to platform.uname for compatibility with Windows
register_special_symbol(STRING, "UNAME_RELEASE", platform.uname()[2])
# The symbol with "option defconfig_list" set, containing a list of
# default .config files