Ensure exception is raised if all attempts to connect with uno fail

This commit is contained in:
Gerald Britton 2011-05-31 16:05:47 -04:00
parent 367dfa4585
commit 6856e3ef44

View File

@ -128,7 +128,7 @@ class OooImport(SongImport):
self.desktop = manager.createInstanceWithContext( self.desktop = manager.createInstanceWithContext(
"com.sun.star.frame.Desktop", uno_instance) "com.sun.star.frame.Desktop", uno_instance)
return return
raise raise
def start_ooo_process(self): def start_ooo_process(self):
try: try: