Commit 03b08c4a authored by AUTOMATIC's avatar AUTOMATIC
Browse files

do not die when an extension's repo has no remote

parent 30b1bcc6
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -34,8 +34,11 @@ class Extension:
        if repo is None or repo.bare:
            self.remote = None
        else:
            try:
                self.remote = next(repo.remote().urls, None)
                self.status = 'unknown'
            except Exception:
                self.remote = None

    def list_files(self, subdir, extension):
        from modules import scripts