# HG changeset patch # User Jeff Hammel # Date 1471915147 25200 # Node ID abf23c2e4e82fa06620b25281ce606ba3670cfc3 # Parent a31de0eaf565a9668f5156025adb24dfc7b820b0 make sure all hashes are ordered diff -r a31de0eaf565 -r abf23c2e4e82 decoupage/web.py --- a/decoupage/web.py Sun Aug 21 20:47:51 2016 -0700 +++ b/decoupage/web.py Mon Aug 22 18:19:07 2016 -0700 @@ -11,7 +11,6 @@ # - either # is a magic hide character # - or you urlescape that guy -# OrderedDict import os import sys @@ -285,6 +284,7 @@ # TODO: deal with other links in conf for i in conf: + if i in filenames or i.startswith('/'): continue if i.startswith('http://') or i.startswith('https://'): @@ -340,7 +340,7 @@ # cache configuration if not self.auto_reload: if not hasattr(self, '_conf'): - self._conf = {} + self._conf = OrderedDict() self._conf[path_tuple] = conf return conf