diff options
Diffstat (limited to 'core/utils.py')
-rw-r--r-- | core/utils.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/utils.py b/core/utils.py index 4309fee..fe85533 100644 --- a/core/utils.py +++ b/core/utils.py @@ -1,10 +1,10 @@ import string import os import datetime -import logging import re import resource import random +import logging from subprocess import call from urllib.parse import urljoin @@ -41,12 +41,12 @@ TROG = { # This is module-level executable. This is a Bad Thing. Especially when it touches the file system. try: - logging.basicConfig(level=logging.DEBUG, - filename=settings.LOGFILE, - filemode='w') + logging.basicConfig(level=logging.DEBUG, + filename=settings.LOGFILE, + filemode='w') except: -# Opening of file for writing is going to fail currently, so decide it doesn't matter for now - pass + # Opening of file for writing is going to fail currently, so decide it doesn't matter for now + pass def get_process_memory(): usage=resource.getrusage(resource.RUSAGE_SELF) |