예제 #1
0
파일: basic_tools.py 프로젝트: gic888/MIEN
	def initIsValid(self, node):
		return BaseXMLObject.initIsValid(self, node)
예제 #2
0
파일: basic_tools.py 프로젝트: gic888/MIEN
	def initIsValid(self, node):
		if not node['attributes'].get('Name'):
			node['attributes']['Name']="0"
			#print "Warning: <%s> initialized with no name. Added one." % (node['tag'],)
		return BaseXMLObject.initIsValid(self, node)