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

@ -19,6 +19,7 @@ import subprocess
import devedeng.configuration_data
import devedeng.executor
class vlc(devedeng.executor.executor):
supports_analize = False
@ -32,9 +33,10 @@ class vlc(devedeng.executor.executor):
@staticmethod
def check_is_installed():
try:
handle = subprocess.Popen(["vlc","-h"], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
handle = subprocess.Popen(
["vlc", "-h"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout, stderr) = handle.communicate()
if 0==handle.wait():
if 0 == handle.wait():
return True
else:
return False
@ -46,13 +48,13 @@ class vlc(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 = ["vlc", "--play-and-exit",file_name]
command_line = ["vlc", "--play-and-exit", 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