AutoArchive._infrastructure.utils — AutoArchive Developer Manual (ver. 2.0.2)

# AutoArchive._infrastructure.utils

Common helpers.

## Sub-Packages

- AutoArchive._infrastructure.utils.interval

## Modules

### utils

`Utils` and `Constants` classes.

class AutoArchive._infrastructure.utils.utils.Constants

  Bases: `object`

  Defines various “global” constants.

  DEBUG = None

    Debugging support.

class AutoArchive._infrastructure.utils.utils.Utils

  Bases: `object`

  Various utility methods.

  classmethod fatalExit(msg, appName=None)

    Prints `msg` to standard error and exits with exit code 2.

  classmethod printError(msg, appName=None)

    Prints `msg` as an error to standard error.

  classmethod printWarning(msg, appName=None)

    Prints `msg` as a warning to standard error.

  static uniq(decorated)

    Decorator that filters out duplicate elements from an iterable returned by decorated function.