E5XML/UserProjectReader.py

changeset 5098
bc74f74a95f5
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
5096:47935c6e4744 5098:bc74f74a95f5
46 self.version = self.attribute( 46 self.version = self.attribute(
47 "version", userProjectFileFormatVersion) 47 "version", userProjectFileFormatVersion)
48 if self.version not in self.supportedVersions: 48 if self.version not in self.supportedVersions:
49 self.raiseUnsupportedFormatVersion(self.version) 49 self.raiseUnsupportedFormatVersion(self.version)
50 elif self.name() == "VcsType": 50 elif self.name() == "VcsType":
51 self.project.pudata["VCSOVERRIDE"] = [ 51 self.project.pudata["VCSOVERRIDE"] = self.readElementText()
52 self.readElementText()]
53 elif self.name() == "VcsStatusMonitorInterval": 52 elif self.name() == "VcsStatusMonitorInterval":
54 interval = int(self.attribute( 53 interval = int(self.attribute(
55 "value", 54 "value",
56 Preferences.getVCS("StatusMonitorInterval"))) 55 Preferences.getVCS("StatusMonitorInterval")))
57 self.project.pudata["VCSSTATUSMONITORINTERVAL"] = [ 56 self.project.pudata["VCSSTATUSMONITORINTERVAL"] = interval
58 interval]
59 else: 57 else:
60 self.raiseUnexpectedStartTag(self.name()) 58 self.raiseUnexpectedStartTag(self.name())
61 59
62 self.showErrorMessage() 60 self.showErrorMessage()

eric ide

mercurial