2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-01 09:31:34 +00:00

removes all lines consisting only of spaces

this really bothers me for some reason - nothing technical
This commit is contained in:
2021-05-06 12:11:38 +02:00
parent ecc9eec084
commit f2b0717d10
91 changed files with 494 additions and 494 deletions

View File

@@ -295,7 +295,7 @@ def export_records(c, filename='data.json'):
for entry in data:
if "model" in entry:
# Clear out any permissions specified for a group
if entry["model"] == "auth.group":
entry["fields"]["permissions"] = []
@@ -335,7 +335,7 @@ def import_records(c, filename='data.json'):
for entry in data:
if "model" in entry:
# Clear out any permissions specified for a group
if entry["model"] == "auth.group":
entry["fields"]["permissions"] = []
@@ -370,7 +370,7 @@ def import_fixtures(c):
fixtures = [
# Build model
'build',
# Common models
'settings',