Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
3d58abde
Commit
3d58abde
authored
Aug 31, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
virtualbox.py: bigger timeout for mkdir
parent
6db9a88b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
util/virtualbox.py
util/virtualbox.py
+2
-5
No files found.
util/virtualbox.py
View file @
3d58abde
...
@@ -138,7 +138,6 @@ class VirtualBox(object):
...
@@ -138,7 +138,6 @@ class VirtualBox(object):
self.username = username
self.username = username
self.password = password
self.password = password
self.type = type
self.type = type
self.mkdir_timeout = 15
def start(self):
def start(self):
self.initial_state = start(self.name, self.type)
self.initial_state = start(self.name, self.type)
...
@@ -159,10 +158,8 @@ class VirtualBox(object):
...
@@ -159,10 +158,8 @@ class VirtualBox(object):
def restore(self):
def restore(self):
return vbox_restore(self.name)
return vbox_restore(self.name)
def mkdir(self, path, timeout=None):
def mkdir(self, path, **kwargs):
if timeout is None:
return vbox_mkdir(self.name, path, username=self.username, password=self.password, **kwargs)
timeout = self.mkdir_timeout
return vbox_mkdir(self.name, path, username=self.username, password=self.password, timeout=timeout)
def copyto(self, source, dest):
def copyto(self, source, dest):
return vbox_copyto(self.name, source, dest, username=self.username, password=self.password)
return vbox_copyto(self.name, source, dest, username=self.username, password=self.password)
...
...
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