コード例 #1
0
ファイル: host.py プロジェクト: EmperorBeezie/kimchi
 def lookup(self, name):
     return disks.get_partition_details(name)
コード例 #2
0
ファイル: host.py プロジェクト: amoalsale/kimchi
    def lookup(self, name):
        if name not in disks.get_partitions_names():
            raise NotFoundError("KCHPART0001E", {'name': name})

        return disks.get_partition_details(name)
コード例 #3
0
 def lookup(self, name):
     return disks.get_partition_details(name)
コード例 #4
0
ファイル: host.py プロジェクト: hlwanghl/kimchi
    def lookup(self, name):
        if name not in disks.get_partitions_names():
            raise NotFoundError("KCHPART0001E", {'name': name})

        return disks.get_partition_details(name)