summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWilliam Schwartz <wkschwartz@gmail.com>2020-12-30 11:49:58 -0600
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-14 20:45:04 +0200
commit1557778121e5d04a80f1f7c81eeb4b47400939e4 (patch)
treefd5e12a80aaad5df4ac7d3f7b4ea92ad2a21121d /scripts
parent1e655d35ad7540ea557c532ebc72a9acc407df50 (diff)
Refs #32317 -- Simplified find_fixtures() in loaddata command.
This always replaces 'fixture_name' with its base name, which preserves the previous behavior, because os.path.basename() was not called only on relative paths without os.path.sep i.e. when base name was equal to the file name. This also changes os.path.dirname() and os.path.basename() calls to the equivalent os.path.split() call.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions