summaryrefslogtreecommitdiff
path: root/openstack_dashboard/api/tuskar.py
diff options
context:
space:
mode:
authorTzu-Mainn Chen <tzumainn@redhat.com>2013-08-02 14:14:26 -0400
committerTzu-Mainn Chen <tzumainn@redhat.com>2013-08-05 13:44:38 -0400
commitbbd5f1428a58b105151dfe73f9bc443f9cae3da4 (patch)
tree7e4623bf01613ee0d10087c00b4ada2ce07190f6 /openstack_dashboard/api/tuskar.py
parentfe8ce143fda4e81dc61d4fa54b79343cd38bfb86 (diff)
downloadtuskar-ui-bbd5f1428a58b105151dfe73f9bc443f9cae3da4.tar.gz
removed unused models
Diffstat (limited to 'openstack_dashboard/api/tuskar.py')
-rw-r--r--openstack_dashboard/api/tuskar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/api/tuskar.py b/openstack_dashboard/api/tuskar.py
index bebccc70..23bde905 100644
--- a/openstack_dashboard/api/tuskar.py
+++ b/openstack_dashboard/api/tuskar.py
@@ -199,7 +199,7 @@ class Node(StringIdAPIResourceWrapper):
@classmethod
def list_unracked(cls, request):
return [cls(h) for h in dummymodels.Node.objects.all() if (
- h.rack is None)]
+ h.rack_id is None)]
@classmethod
def create(cls, request, name, mac_address, ip_address, status,