mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
pylint W0622(redefined-builtin)
This commit is contained in:
parent
d86f9e94b5
commit
149173ef62
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ from bootstrapvz.common.tasks import apt
|
||||||
from bootstrapvz.common.exceptions import TaskError
|
from bootstrapvz.common.exceptions import TaskError
|
||||||
from bootstrapvz.common.releases import jessie, wheezy, stretch
|
from bootstrapvz.common.releases import jessie, wheezy, stretch
|
||||||
from bootstrapvz.common.tools import sed_i, log_check_call, rel_path
|
from bootstrapvz.common.tools import sed_i, log_check_call, rel_path
|
||||||
from __builtin__ import str
|
|
||||||
|
|
||||||
|
|
||||||
ASSETS_DIR_STRETCH = rel_path(__file__, 'assets/gpg-keyrings-PC1/stretch')
|
ASSETS_DIR_STRETCH = rel_path(__file__, 'assets/gpg-keyrings-PC1/stretch')
|
||||||
|
|
|
@ -22,7 +22,7 @@ class CallbackServer(object):
|
||||||
self.thread.start()
|
self.thread.start()
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __exit__(self, type, value, traceback):
|
def __exit__(self, exception_type, exception_value, traceback):
|
||||||
log.debug('Shutting down callback server')
|
log.debug('Shutting down callback server')
|
||||||
self.daemon.shutdown()
|
self.daemon.shutdown()
|
||||||
self.thread.join()
|
self.thread.join()
|
||||||
|
|
Loading…
Add table
Reference in a new issue