Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
class DuplicateEnvironmentWarning(Warning):
pass
class FutureReservedVariableWarning(Warning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class PythonVersionWarning(DeprecatedWarning):
pass
class ReservedVariableWarning(Warning):
pass
class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
pass
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
pass
class DuplicateEnvironmentWarning(Warning):
pass
class FutureReservedVariableWarning(Warning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
pass
class DuplicateEnvironmentWarning(Warning):
pass
class FutureReservedVariableWarning(Warning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class PythonVersionWarning(DeprecatedWarning):
pass
class DeprecatedWarning(Warning):
pass
class DeprecatedCopyWarning(DeprecatedWarning):
pass
class DeprecatedOptionsWarning(DeprecatedWarning):
pass
class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
pass
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
pass
class DuplicateEnvironmentWarning(Warning):
pass
class FutureReservedVariableWarning(Warning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
import SCons.Errors
class Warning(SCons.Errors.UserError):
pass
# NOTE: If you add a new warning class, add it to the man page, too!
class CacheWriteErrorWarning(Warning):
pass
class CorruptSConsignWarning(Warning):
pass
class DependencyWarning(Warning):
pass
class DeprecatedWarning(Warning):
pass
class DeprecatedCopyWarning(DeprecatedWarning):
pass
class DeprecatedOptionsWarning(DeprecatedWarning):
pass
class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
pass
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
pass
"""
__revision__ = "src/engine/SCons/Warnings.py 3842 2008/12/20 22:59:52 scons"
import string
import sys
import SCons.Errors
class Warning(SCons.Errors.UserError):
pass
# NOTE: If you add a new warning class, add it to the man page, too!
class CacheWriteErrorWarning(Warning):
pass
class CorruptSConsignWarning(Warning):
pass
class DependencyWarning(Warning):
pass
class DeprecatedWarning(Warning):
pass
class DeprecatedCopyWarning(DeprecatedWarning):
pass
class DeprecatedOptionsWarning(DeprecatedWarning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class PythonVersionWarning(DeprecatedWarning):
pass
class ReservedVariableWarning(Warning):
pass
class StackSizeWarning(Warning):
pass
class FortranCxxMixWarning(LinkWarning):
pass
class DeprecatedCopyWarning(DeprecatedWarning):
pass
class DeprecatedOptionsWarning(DeprecatedWarning):
pass
class DeprecatedSourceSignaturesWarning(DeprecatedWarning):
pass
class DeprecatedTargetSignaturesWarning(DeprecatedWarning):
pass
class DuplicateEnvironmentWarning(Warning):
pass
class FutureReservedVariableWarning(Warning):
pass
class LinkWarning(Warning):
pass
class MisleadingKeywordsWarning(Warning):
pass
class MissingSConscriptWarning(Warning):
pass
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class PythonVersionWarning(DeprecatedWarning):
pass
class ReservedVariableWarning(Warning):
pass
class StackSizeWarning(Warning):
pass
class FortranCxxMixWarning(LinkWarning):
pass
_warningAsException = 0
# The below is a list of 2-tuples. The first element is a class object.
# The second element is true if that class is enabled, false if it is disabled.
_enabled = []
_warningOut = None
def suppressWarningClass(clazz):
"""Suppresses all warnings that are of type clazz or
derived from clazz."""
class NoMD5ModuleWarning(Warning):
pass
class NoMetaclassSupportWarning(Warning):
pass
class NoObjectCountWarning(Warning):
pass
class NoParallelSupportWarning(Warning):
pass
class PythonVersionWarning(DeprecatedWarning):
pass
class ReservedVariableWarning(Warning):
pass
class StackSizeWarning(Warning):
pass
class FortranCxxMixWarning(LinkWarning):
pass
_warningAsException = 0
# The below is a list of 2-tuples. The first element is a class object.
# The second element is true if that class is enabled, false if it is disabled.
_enabled = []
_warningOut = None