mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Fixed pep8
This commit is contained in:
parent
b9bf14fdb5
commit
56f840c893
13 changed files with 37 additions and 18 deletions
|
@ -9,4 +9,4 @@ class Compute(models.Model):
|
|||
type = models.IntegerField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.hostname
|
||||
return self.hostname
|
||||
|
|
|
@ -37,7 +37,7 @@ def computes(request):
|
|||
'type': compute.type,
|
||||
'login': compute.login,
|
||||
'password': compute.password
|
||||
})
|
||||
})
|
||||
return compute_data
|
||||
|
||||
error_messages = []
|
||||
|
@ -222,4 +222,4 @@ def compute_graph(request, compute_id):
|
|||
response.cookies['timer'] = datasets['timer']
|
||||
response.cookies['mem'] = datasets['mem']
|
||||
response.write(data)
|
||||
return response
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue