Commit 6900cb79 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed small regression from 51aa0003.

A test failed if the path to the Django checkout contained a dot.

Refs #20485.
parent 164c67c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ class Command(BaseCommand):
        ser_fmts = serializers.get_public_serializer_formats() if ser_fmt is None else [ser_fmt]

        # Check kept for backwards-compatibility; it doesn't look very useful.
        if '.' in fixture_name:
        if '.' in os.path.basename(fixture_name):
            raise CommandError(
                    "Problem installing fixture '%s': %s is not a known "
                    "serialization format." % tuple(fixture_name.rsplit('.')))