summaryrefslogtreecommitdiffstats
path: root/cnucnu/package_list.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-12-26 19:06:54 +0200
committerTill Maas <opensource@till.name>2010-12-26 18:18:23 +0100
commitb5326a7de93dbe4f153c5dbe86f1296c792558dd (patch)
tree5fdd158edb5708e5e02618f32abe477d66b39d01 /cnucnu/package_list.py
parent4ca9dedc38679099cceeb5b08cc34fc9212c2c5f (diff)
downloadcnucnu-b5326a7de93dbe4f153c5dbe86f1296c792558dd.tar.gz
cnucnu-b5326a7de93dbe4f153c5dbe86f1296c792558dd.tar.xz
cnucnu-b5326a7de93dbe4f153c5dbe86f1296c792558dd.zip
Clear cached HTML on URL changes in addition to other cache invalidation.
Makes switching URLs in --shell work properly.
Diffstat (limited to 'cnucnu/package_list.py')
-rwxr-xr-xcnucnu/package_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cnucnu/package_list.py b/cnucnu/package_list.py
index 55a4c85..de15cdb 100755
--- a/cnucnu/package_list.py
+++ b/cnucnu/package_list.py
@@ -219,7 +219,7 @@ class Package(object):
url = "https://launchpad.net/%s/+download" % name
self.__url = url
- self._invalidate_caches()
+ self.html = None
url = property(lambda self:self.__url, set_url)