pkgcore.operations.observer module

pkgcore.operations.observer.decorate_build_method(phase)[source]
class pkgcore.operations.observer.file_handle_output(out)[source]

Bases: formatter_output

debug(msg, *args, **kwds)[source]
error(msg, *args, **kwds)[source]
info(msg, *args, **kwds)[source]
warn(msg, *args, **kwds)[source]
write(msg, *args, **kwds)[source]
class pkgcore.operations.observer.formatter_output(out)[source]

Bases: null_output

debug(msg, *args, **kwds)[source]
error(msg, *args, **kwds)[source]
flush()[source]
info(msg, *args, **kwds)[source]
warn(msg, *args, **kwds)[source]
write(msg, *args, autoline=False, **kwds)[source]
class pkgcore.operations.observer.null_output[source]

Bases: object

debug(msg, *args, **kwds)[source]
error(msg, *args, **kwds)[source]
flush()[source]
info(msg, *args, **kwds)[source]
warn(msg, *args, **kwds)[source]
write(msg, *args, **kwds)[source]
class pkgcore.operations.observer.phase_observer(output, debug=False)[source]

Bases: object

debug(msg, *args, **kwds)[source]
property error

alias to _output.error

property flush

alias to _output.flush

property info

alias to _output.info

phase_end(phase, status)[source]
phase_start(phase)[source]
property warn

alias to _output.warn

property write

alias to _output.write

class pkgcore.operations.observer.repo_observer(output, debug=False)[source]

Bases: phase_observer

installing_fs_obj(obj)[source]
removing_fs_obj(obj)[source]
trigger_end(hook, trigger)[source]
trigger_start(hook, trigger)[source]