Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 19, 2014
1 parent f7631b8 commit f77df61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup/installer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit f77df61

Please sign in to comment.