mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +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…
x
Reference in New Issue
Block a user