INNER CODE UNIT · Python

UserError

evpo/EncryptPad · configure.py:21

class UserError(Exception):
    pass


# An error caused by bugs in this script or when reading/parsing build data files
# Those are not expected to be fixed by the user of this script
class InternalError(Exception):
    pass

def flatten(l):
    return sum(l, [])

def normalize_source_path(source):
    """
    cmake needs this, and nothing else minds
    """
    return os.path.normpath(source).replace('\\', '/')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…