Beispiel #1
0
    def execute(self):
        # Do not allow implicit filesystems format.
        if not self.options.additional:
            msg = "A custom command (-o) is required."
            raise CommandHelpException(msg, self)

        return FSLiveCommand.execute(self)
Beispiel #2
0
    def execute(self):
        # Do not allow implicit filesystems format.
        if not self.options.additional:
            msg = "A custom command (-o) is required."
            raise CommandHelpException(msg, self)

        return FSLiveCommand.execute(self)
Beispiel #3
0
    def execute(self):

        # Option sanity check
        self.forbidden(self.options.model, "-m, use -f")

        try:
            return FSLiveCommand.execute(self)
        except ModelFileIOError:
            if self.has_local_flag():
                return 0
            raise
Beispiel #4
0
    def execute(self):

        # Option sanity check
        self.forbidden(self.options.model, "-m, use -f")

        try:
            return FSLiveCommand.execute(self)
        except ModelFileIOError:
            if self.has_local_flag():
                return 0
            raise