Mercurial > hg > decoupage
diff decoupage/web.py @ 98:abf23c2e4e82
make sure all hashes are ordered
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 22 Aug 2016 18:19:07 -0700 |
parents | 21273cdb2047 |
children | 82ee67b95a0c |
line wrap: on
line diff
--- 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