lock: Fix import cycle breakage

fa2049f caused an import cycle between lock.py and misc.py.  Move the
needed functions from lock.py to lockstatus.py so that we can avoid the
import cycle.

Signed-off-by: Sam Lang <sam.lang@inktank.com>

Conflicts:
	teuthology/lock.py
This commit is contained in:
Sam Lang 2013-04-12 12:55:54 -05:00
parent dc457093b7
commit 438410a97a

View File

@ -22,4 +22,3 @@ def get_status(ctx, name):
return json.loads(content)
return None