Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit b5e8f30

Browse files
committed
component check on cachor
1 parent 7a1c3f0 commit b5e8f30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Unified/cachor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
from assignSession import *
3-
from utils import checkTransferStatus, moduleLock, sendLog, transferStatuses
3+
from utils import checkTransferStatus, moduleLock, sendLog, transferStatuses, componentInfo
44
import json
55
import random
66
import sys
@@ -12,6 +12,7 @@ def cachor(spec=None):
1212
if mlock():
1313
print "currently running"
1414
return
15+
if not componentInfo().check(): return
1516
TS = transferStatuses()
1617
print sorted(TS.all()),"cached transfers"
1718
## pop all that are now in inactive

0 commit comments

Comments
 (0)