Commit 698338c2 by Kálmán Viktor

dashboard: fix flake8

parent 631b1909
...@@ -289,7 +289,6 @@ class Disk(TimeStampedModel): ...@@ -289,7 +289,6 @@ class Disk(TimeStampedModel):
"""Return the Instance or InstanceTemplate object where the disk """Return the Instance or InstanceTemplate object where the disk
is used is used
""" """
from vm.models import Instance
try: try:
app = self.template_set.all() or self.instance_set.all() app = self.template_set.all() or self.instance_set.all()
return app.get() return app.get()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment