Revision e310b019
ID | e310b019ad43467bc243d886d50597de5d81c27a |
Add locking.ALL_SET constant and use it
Rather than specifying None in needed_locks every time, with a nice
comment saying to read what we mean rather than what we write, and that
None actually means All, in our magic world, we'll hide this secret
under the ALL_SET constant in the locking module, which has value, you
guessed it, None. After that we'll substitute all usage in cmdlib.
Some comments and examples have been fixed as well.
Reviewed-by: iustinp
Files
- added
- modified
- copied
- renamed
- deleted