|
|
|
@ -152,7 +152,7 @@ class model(dict):
|
|
|
|
|
#@todo bump static cache of the last timestamp so we dont need to examine the file to set a proper ''viewed'' status
|
|
|
|
|
return snapshot_fname
|
|
|
|
|
|
|
|
|
|
# Save previous text snapshot for diffing
|
|
|
|
|
# Save previous text snapshot for diffing - used for calculating additions and deletions
|
|
|
|
|
def save_previous_text(self, contents):
|
|
|
|
|
from os import mkdir
|
|
|
|
|
import logging
|
|
|
|
@ -171,7 +171,7 @@ class model(dict):
|
|
|
|
|
|
|
|
|
|
return snapshot_fname
|
|
|
|
|
|
|
|
|
|
# Get previous text snapshot for diffing
|
|
|
|
|
# Get previous text snapshot for diffing - used for calculating additions and deletions
|
|
|
|
|
def get_previous_text(self):
|
|
|
|
|
from os import path
|
|
|
|
|
|
|
|
|
|