#NEWLINE# def execute( self , ns , devices , _gpt , _msdos ) : #NEWLINE# #INDENT# "\n        Implementation of 'partition-table create' command.\n        " #NEWLINE# if _msdos : #NEWLINE# #INDENT# ptype = partition . PARTITION_TABLE_TYPE_MSDOS #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ptype = partition . PARTITION_TABLE_TYPE_GPT #NEWLINE# #UNINDENT# for device in devices : #NEWLINE# #INDENT# partition . create_partition_table ( ns , device , ptype )