fix indents
diff --git a/xos/core/admin.py b/xos/core/admin.py
index 2415924..fa9ca55 100644
--- a/xos/core/admin.py
+++ b/xos/core/admin.py
@@ -514,9 +514,9 @@
def formfield_for_foreignkey(self, db_field, request, **kwargs):
if db_field.name == 'service':
kwargs['queryset'] = Service.select_by_user(request.user)
- if db_field.name == 'user':
- kwargs['queryset'] = User.select_by_user(request.user)
- return super(ServicePrivilegeInline, self).formfield_for_foreignkey(db_field, request, **kwargs)
+ if db_field.name == 'user':
+ kwargs['queryset'] = User.select_by_user(request.user)
+ return super(ServicePrivilegeInline, self).formfield_for_foreignkey(db_field, request, **kwargs)
def queryset(self, request):
return ServicePrivilege.select_by_user(request.user)