-# $Id$
-# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
def call(self, auth, name):
node_type = NodeType(self.api)
node_type['node_type'] = name
- node_type.sync(insert = True)
+ node_type.sync(commit = True)
return 1