debian/watch
author Laurent Wouters <lwouters@cenotelie.fr>
Wed, 25 Apr 2018 15:29:25 +0200
changeset 12308 cbbcfa69a0e7
parent 11134 fd905f9aaace
permissions -rw-r--r--
[utils] Fixes compatiblity of QueryCache with expected dict interface QueryCache is expected to mimick the interface of the dict built-in. The current __iter__ implementation breaks this expectation by iterating over key, value pairs instead of only the keys. This changeset fixes this issue by changing the __iter__ implementation to iterate over the keys in the cache and providing an implementation of the items method with a contract identical to the dict build-in (return a copy of the key- value pairs within the dictionary as a list).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8302
7965f1e9f399 [debian] add a watch file
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     1
version=3
10290
6d265ea7d56f [debian] Update watch file
Julien Cristau <julien.cristau@logilab.fr>
parents: 8302
diff changeset
     2
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
11134
fd905f9aaace [pkg] use https URLs to pypi.{python.org,debian.net}
Julien Cristau <julien.cristau@logilab.fr>
parents: 10290
diff changeset
     3
https://pypi.debian.net/cubicweb/cubicweb-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))