File: sync_services.py

package info (click to toggle)
python-django-guid 3.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 664 kB
  • sloc: python: 1,267; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
import logging

logger = logging.getLogger(__name__)


def useless_function() -> bool:
    """
    Useless function to demonstrate a function log message.
    :return: True
    """
    logger.warning('Some warning in a function')
    return True