Passed autopep8

This commit is contained in:
Sergio Costas 2017-01-06 19:36:01 +01:00
parent 27828d2dc5
commit fdf7f148c1
45 changed files with 3541 additions and 3338 deletions

View file

@ -22,6 +22,7 @@ import devedeng.configuration_data
import devedeng.executor
import os
class mplayer(devedeng.executor.executor):
supports_analize = False
@ -35,9 +36,10 @@ class mplayer(devedeng.executor.executor):
@staticmethod
def check_is_installed():
try:
handle = subprocess.Popen(["mplayer","-v"], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
handle = subprocess.Popen(
["mplayer", "-v"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout, stderr) = handle.communicate()
if 0==handle.wait():
if 0 == handle.wait():
return True
else:
return False
@ -49,13 +51,13 @@ class mplayer(devedeng.executor.executor):
devedeng.executor.executor.__init__(self)
self.config = devedeng.configuration_data.configuration.get_config()
def play_film(self,file_name):
def play_film(self, file_name):
command_line = ["mplayer", file_name]
self.launch_process(command_line)
def process_stdout(self,data):
def process_stdout(self, data):
return
def process_stderr(self,data):
def process_stderr(self, data):
return