mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
a7bf031e4a
commit
0a97bc1b40
@ -17,10 +17,12 @@ import logging
|
||||
import tempfile
|
||||
import yaml
|
||||
|
||||
|
||||
def eprint(*args, **kwargs):
|
||||
""" Print a warning message to stderr """
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user