mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 06:46:22 +01:00
...
This commit is contained in:
parent
f7631b879f
commit
f77df61e65
1 changed files with 2 additions and 3 deletions
|
|
@ -152,7 +152,7 @@ def run_vm_builder(self):
|
|||
p2.wait()
|
||||
rc = p.wait()
|
||||
if rc != 0:
|
||||
raise SystemExit(rc)
|
||||
raise SystemExit('VM builder failed with error code: %s' % rc)
|
||||
self.download_installer()
|
||||
|
||||
def installer(self):
|
||||
|
|
@ -184,8 +184,7 @@ def download_installer(self):
|
|||
subprocess.check_call(['scp',
|
||||
self.VM_NAME+':build/calibre/'+installer, 'dist'])
|
||||
if not os.path.exists(installer):
|
||||
self.warn('Failed to download installer: '+installer)
|
||||
raise SystemExit(1)
|
||||
raise SystemExit('Failed to download installer: '+installer)
|
||||
|
||||
def clean(self):
|
||||
installer = self.installer()
|
||||
|
|
|
|||
Loading…
Reference in a new issue