Revision 685ee993 lib/cmdlib.py

b/lib/cmdlib.py
1221 1221
      break
1222 1222

  
1223 1223
    if unlock:
1224
      utils.Unlock('cmd')
1224
      #utils.Unlock('cmd')
1225
      pass
1225 1226
    try:
1226 1227
      time.sleep(min(60, max_time))
1227 1228
    finally:
1228 1229
      if unlock:
1229
        utils.Lock('cmd')
1230
        #utils.Lock('cmd')
1231
        pass
1230 1232

  
1231 1233
  if done:
1232 1234
    proc.LogInfo("Instance %s's disks are in sync." % instance.name)

Also available in: Unified diff