Clean up incomprehensible comment.

This commit is contained in:
Jimmy 2015-03-12 20:12:59 +13:00
parent 9ee19be70d
commit 734268187c

View File

@ -79,11 +79,11 @@ class WebHistory(QWebHistoryInterface):
with self._lineparser.open(): with self._lineparser.open():
for line in self._lineparser: for line in self._lineparser:
atime, url = line.rstrip().split(maxsplit=1) atime, url = line.rstrip().split(maxsplit=1)
# This de-duplicates history entries. We keep later ones in the # This de-duplicates history entries; only the latest
# file which usually the last ones accessed. If you want # entry for each URL is kept. If you want to keep
# to keep information about multiple hits change the # information about previous hits change the items in
# items in old_urls to be lists or change HistoryEntry # old_urls to be lists or change HistoryEntry to have a
# to have a list of atimes. # list of atimes.
self._old_urls[url] = HistoryEntry(atime, url) self._old_urls[url] = HistoryEntry(atime, url)
self._new_history = [] self._new_history = []
self._saved_count = 0 self._saved_count = 0