diff options
Diffstat (limited to 'okupy/common/log.py')
-rw-r--r-- | okupy/common/log.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/okupy/common/log.py b/okupy/common/log.py index 4f016c8..c8994cc 100644 --- a/okupy/common/log.py +++ b/okupy/common/log.py @@ -2,11 +2,12 @@ from django.conf import settings -def log_extra_data(additional = None): + +def log_extra_data(additional=None): ''' Extra data needed by the custom formatter - * If the additional argument is a string or unicode, then its value is printed - in the log. + * If the additional argument is a string or unicode, then its value is + printed in the log. * If the additional argument is the request, then from the request it prints the client IP and username if applicable. ''' |