Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e0757a88
authored
Feb 26, 2013
by
tarokkk
Committed by
Őry Máté
Mar 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: fix #65
parent
e59cd419
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
one/views.py
+4
-2
No files found.
one/views.py
View file @
e0757a88
...
@@ -248,8 +248,10 @@ def vm_new(request, template=None, share=None, redir=True):
...
@@ -248,8 +248,10 @@ def vm_new(request, template=None, share=None, redir=True):
type
=
share
.
type
if
share
else
'LAB'
type
=
share
.
type
if
share
else
'LAB'
TYPES
[
type
][
'suspend'
]
TYPES
[
type
][
'suspend'
]
time_of_suspend
=
TYPES
[
type
][
'suspend'
]
+
datetime
.
now
()
time_of_suspend
=
TYPES
[
type
][
'suspend'
]
+
datetime
.
now
()
TYPES
[
type
][
'delete'
]
if
TYPES
[
type
][
'delete'
]:
time_of_delete
=
TYPES
[
type
][
'delete'
]
+
datetime
.
now
()
time_of_delete
=
TYPES
[
type
][
'delete'
]
+
datetime
.
now
()
else
:
time_of_delete
=
None
inst
=
None
inst
=
None
if
go
:
if
go
:
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment