Permalink
Browse files

Whitespace nits

  • Loading branch information...
paltman committed Aug 15, 2012
1 parent 4234783 commit 6eea46f6140a1f57f23f9345cfa464ec4d6b7bff
Showing with 2 additions and 2 deletions.
  1. +2 −2 anafero/models.py
View
@@ -19,7 +19,7 @@
def import_obj(name):
dot = name.rindex('.')
- mod_name, obj_name = name[:dot], name[dot+1:]
+ mod_name, obj_name = name[:dot], name[dot + 1:]
__import__(mod_name)
return getattr(sys.modules[mod_name], obj_name)
@@ -82,7 +82,7 @@ def create(cls, redirect_to, user=None, label="", target=None):
target_content_type=ContentType.objects.get_for_model(target),
target_object_id=target.pk
)
- else:
+ else:
obj, _ = cls.objects.get_or_create(
user=user,
code=code,

0 comments on commit 6eea46f

Please sign in to comment.