Make Sopel quiet and remove warning.

This commit is contained in:
Valentin Lorentz 2015-12-19 19:14:47 +01:00
parent 100efc7b67
commit 4e57b793a3

View File

@ -37,7 +37,6 @@ class SopelController(BaseClientController):
mode) mode)
def create_config(self): def create_config(self):
self.directory = tempfile.TemporaryDirectory()
with self.open_file(self.filename) as fd: with self.open_file(self.filename) as fd:
pass pass
@ -53,7 +52,7 @@ class SopelController(BaseClientController):
password=auth.password if auth else '', password=auth.password if auth else '',
auth_method='auth_method = sasl' if auth else '', auth_method='auth_method = sasl' if auth else '',
)) ))
self.proc = subprocess.Popen(['sopel', '-c', self.filename]) self.proc = subprocess.Popen(['sopel', '--quiet', '-c', self.filename])
def get_irctest_controller_class(): def get_irctest_controller_class():
return SopelController return SopelController