Skip to content

Commit

Permalink
Remove future and future imports
Browse files Browse the repository at this point in the history
We haven't supported python 2 for a while.

* Removes unused future from requirements.txt
* Removes import of print_function

resolves #87
  • Loading branch information
andyzickler authored and davedash committed Oct 26, 2023
1 parent d3725be commit a48d995
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions fixture_magic/management/commands/custom_dump.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

import sys

try:
Expand Down
2 changes: 0 additions & 2 deletions fixture_magic/management/commands/dump_object.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

from django.core.exceptions import FieldError, ObjectDoesNotExist
from django.core.management.base import BaseCommand, CommandError
from django.core.serializers import serialize
Expand Down
2 changes: 0 additions & 2 deletions fixture_magic/management/commands/merge_fixtures.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

try:
import json
except ImportError:
Expand Down
2 changes: 0 additions & 2 deletions fixture_magic/management/commands/reorder_fixtures.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

try:
import json
except ImportError:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
future==0.18.2 # Do we need this anymore?

0 comments on commit a48d995

Please sign in to comment.