checkupdates: don't fail when we can't init submodules

Later revisions might have removed the submodules so we want to keep
going when there are no submodules present.
We still abort when there is an error initializing submodules.

Fixes fdroid/fdroidserver#231
This commit is contained in:
Marcus Hoffmann 2017-12-04 15:10:21 +01:00
parent 2dcb19d392
commit db0a97e8e7
3 changed files with 23 additions and 7 deletions

View file

@ -39,6 +39,10 @@ class VCSException(FDroidException):
pass
class NoSubmodulesException(VCSException):
pass
class BuildException(FDroidException):
pass