Bugzilla Bug 107823 change nsIFile

to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
This commit is contained in:
timeless@mac.com
2001-11-26 08:05:05 +00:00
parent f97e2d99fd
commit 5408f70625
24 changed files with 78 additions and 78 deletions

View File

@@ -187,7 +187,7 @@ class PythonComponentLoader:
if e_location is None: # No escaped key needed.
e_location = registry_location
key = self.registry.addSubtreeRaw(self.xpcom_registry_key, e_location)
self.registry.setLongLong(key, lastModValueName, nsIFile.lastModificationTime)
self.registry.setLongLong(key, lastModValueName, nsIFile.lastModifiedTime)
self.registry.setLongLong(key, fileSizeValueName, nsIFile.fileSize)
def _hasChanged(self, registry_location, nsIFile):
if self.registry is None:
@@ -198,7 +198,7 @@ class PythonComponentLoader:
e_location = registry_location
try:
key = self.registry.getSubtreeRaw(self.xpcom_registry_key, e_location)
if nsIFile.lastModificationTime != self.registry.getLongLong(key, lastModValueName):
if nsIFile.lastModifiedTime != self.registry.getLongLong(key, lastModValueName):
return 1
if nsIFile.fileSize != self.registry.getLongLong(key, fileSizeValueName):
return 1