7125/7102: fix with DTD change as OKed by NickH
impex.sh test currently broken until the new DTD/schema go online svn: r23347
This commit is contained in:
		@@ -1933,7 +1933,9 @@ class GrampsParser(UpdateCallback):
 | 
			
		||||
                          self.citation)
 | 
			
		||||
        self.citation.private = bool(attrs.get("priv"))
 | 
			
		||||
        self.citation.change = int(attrs.get('change', self.change))
 | 
			
		||||
        self.citation.confidence = self.conf # default
 | 
			
		||||
        self.citation.confidence = (
 | 
			
		||||
                self.conf if self.__xml_version >= '1.5.1' 
 | 
			
		||||
                else 0 ) # See bug# 7125
 | 
			
		||||
        self.info.add('new-object', CITATION_KEY, self.citation)
 | 
			
		||||
        return self.citation
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -35,5 +35,5 @@
 | 
			
		||||
# Public Constants
 | 
			
		||||
#
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
GRAMPS_XML_VERSION = "1.5.0"
 | 
			
		||||
GRAMPS_XML_VERSION = "1.5.1"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user