Mercurial > p > roundup > code
diff scripts/roundup.rc-debian @ 5011:d5da643b3d25
Remove key_in() from roundup.anypy.dbm_
The key_in() function was just a shim to use the best available option
out of 'd.has_key(key)' and 'key in d'. The 'd.has_key(key)' flavour has
been deprecated in favour of 'key in d' which based on testing has been
available since at least python v2.5 which is the oldest being
supported.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 13 Feb 2015 00:20:43 +1100 |
| parents | 6e3e4f24c753 |
| children |
