コード例 #1
0
ファイル: items.py プロジェクト: comodit/comodit-client
    def import_entity(self, opts):
        if opts.path is None:
            raise Exception("You must provide the path to the input folder")

        imp = Import(opts.skip_conflicts, opts.dry_run)
        imp.import_host(self._parent, opts.path)
コード例 #2
0
ファイル: items.py プロジェクト: MaximeBou/comodit-client-1
    def import_entity(self, opts):
        if opts.path is None:
            raise Exception("You must provide the path to the input folder")

        imp = Import(opts.skip_conflicts, opts.dry_run)
        imp.import_host(self._parent, opts.path)