mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	remove structlog from internal paths (#8836)
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
			
		||||
 | 
			
		||||
import datetime
 | 
			
		||||
import json
 | 
			
		||||
import logging
 | 
			
		||||
import os
 | 
			
		||||
import random
 | 
			
		||||
import shutil
 | 
			
		||||
@@ -12,9 +13,7 @@ from pathlib import Path
 | 
			
		||||
from django.core.files.base import ContentFile
 | 
			
		||||
from django.core.files.storage import Storage
 | 
			
		||||
 | 
			
		||||
import structlog
 | 
			
		||||
 | 
			
		||||
logger = structlog.get_logger('inventree')
 | 
			
		||||
logger = logging.getLogger('inventree')
 | 
			
		||||
CONFIG_DATA = None
 | 
			
		||||
CONFIG_LOOKUPS = {}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
Provides information on the current InvenTree version
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
import logging
 | 
			
		||||
import os
 | 
			
		||||
import pathlib
 | 
			
		||||
import platform
 | 
			
		||||
@@ -20,9 +21,7 @@ from .api_version import INVENTREE_API_TEXT, INVENTREE_API_VERSION
 | 
			
		||||
INVENTREE_SW_VERSION = '0.18.0 dev'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import structlog
 | 
			
		||||
 | 
			
		||||
logger = structlog.get_logger('inventree')
 | 
			
		||||
logger = logging.getLogger('inventree')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Discover git
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user