« Previous | Next » 

Revision e310b019

IDe310b019ad43467bc243d886d50597de5d81c27a
Parent 45bc5e4a
Child 26a61f87

Added by Guido Trotter over 14 years ago

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

View differences