Permalink
Browse files

added .pyc and vim .swp files to gitignore

removed unused imports
  • Loading branch information...
1 parent 0aef6cc commit 7471c1d18420322647195e17b2b79fcf0c01b68e @fourk fourk committed Jun 7, 2011
View
@@ -2,3 +2,5 @@
dist/
*.egg-info
build/
+*.pyc
+*.swp
@@ -4,19 +4,14 @@
except ImportError:
from django.utils import simplejson as json
-from optparse import make_option
-
-from django.core.exceptions import FieldError, ObjectDoesNotExist
from django.core.management.base import BaseCommand
from django.db.models import loading
from django.core.serializers import serialize
-from django.db import models
from django.conf import settings
from django.template import Variable, VariableDoesNotExist
-from fixture_magic.utils import (get_fields, add_to_serialize_list,
- reorder_json, serialize_me, seen,
- serialize_fully)
+from fixture_magic.utils import (add_to_serialize_list, reorder_json,
+ serialize_me, serialize_fully)
class Command(BaseCommand):
@@ -5,8 +5,8 @@
from django.db.models import loading
from django.core.serializers import serialize
-from fixture_magic.utils import (get_fields, add_to_serialize_list,
- serialize_me, seen, serialize_fully)
+from fixture_magic.utils import (add_to_serialize_list, serialize_me,
+ serialize_fully)
class Command(BaseCommand):
@@ -1,5 +1,3 @@
-import json
-
from django.db import models
serialize_me = []

0 comments on commit 7471c1d

Please sign in to comment.