/
githubmirror
/
librepo
Обзор
Документация
Войти
/
githubmirror
/
librepo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
doc/python/lib.rst
53 строки
1017 B
Tomas Mlcoch
Doc: Add log_set_file and log_remove_handler into python doc
25 сен 2015, 13:51
25 сен 2015, 13:51
fc3b055
Код
Авторство
О чём код?
.. _lib: The Librepo Library =================== Classes ------- Librepo includes several classes: .. toctree:: handle result packagetarget Exceptions ---------- Librepo module has only one own exception. .. class:: LibrepoException Value of this exception is tuple with three elements: ``(return code, error message, general error message)`` * Return code is a value from: :ref:`error-codes-label`. * String with a descriptive description of the error. * General error message based on rc (feel free to ignore this message) Constants ---------- .. automodule:: librepo Functions --------- .. autofunction:: checksum_str_to_type .. autofunction:: download_packages .. autofunction:: download_url .. autofunction:: yum_repomd_get_age Debugging --------- Some tricky/unsafe stuff which can be useful during developing and debugging, but definitely shouldn't be used in production. .. autofunction:: log_set_file .. autofunction:: log_remove_handler .. autofunction:: set_debug_log_handler