diff options
| author | Michael Merickel <michael@merickel.org> | 2015-02-17 02:40:07 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2015-02-17 02:40:07 -0600 |
| commit | 4a9c13647b93c79ba3414c32c96906bc43e325d3 (patch) | |
| tree | 7218dc1d3c8e79f8b14671bd5b882aaab29e6a2b | |
| parent | 780889f18d17b86fc12625166a245c7f9947cbe6 (diff) | |
| download | pyramid-4a9c13647b93c79ba3414c32c96906bc43e325d3.tar.gz pyramid-4a9c13647b93c79ba3414c32c96906bc43e325d3.tar.bz2 pyramid-4a9c13647b93c79ba3414c32c96906bc43e325d3.zip | |
use super with mixins... for reasons
| -rw-r--r-- | pyramid/static.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pyramid/static.py b/pyramid/static.py index 460639a89..4ff02f798 100644 --- a/pyramid/static.py +++ b/pyramid/static.py @@ -220,8 +220,7 @@ class PathSegmentMd5CacheBuster(PathSegmentCacheBuster, .. versionadded:: 1.6 """ def __init__(self): - PathSegmentCacheBuster.__init__(self) - Md5AssetTokenGenerator.__init__(self) + super(PathSegmentMd5CacheBuster, self).__init__() class QueryStringCacheBuster(object): """ @@ -262,8 +261,7 @@ class QueryStringMd5CacheBuster(QueryStringCacheBuster, .. versionadded:: 1.6 """ def __init__(self, param='x'): - QueryStringCacheBuster.__init__(self, param=param) - Md5AssetTokenGenerator.__init__(self) + super(QueryStringMd5CacheBuster, self).__init__(param=param) class QueryStringConstantCacheBuster(QueryStringCacheBuster): """ @@ -279,7 +277,7 @@ class QueryStringConstantCacheBuster(QueryStringCacheBuster): .. versionadded:: 1.6 """ def __init__(self, token, param='x'): - QueryStringCacheBuster.__init__(self, param=param) + super(QueryStringConstantCacheBuster, self).__init__(param=param) self._token = token def tokenize(self, pathspec): |
