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

Commit 68903b0

Browse files
committed
git history is much better at keeping history of changes
1 parent a289575 commit 68903b0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,6 @@ def default_expiration():
19431943
'data' : None,
19441944
'timestamp' : time.mktime( time.gmtime()),
19451945
'expiration' : default_expiration(),
1946-
#'getter' : lambda : getSiteStorage('cmsweb.cern.ch'),
19471946
'getter' : lambda : getSiteStorage('cms-cric.cern.ch'),
19481947
'cachefile' : None,
19491948
'default' : ""
@@ -2070,7 +2069,6 @@ def getNodeQueue(url, node):
20702069

20712070
def getSiteStorage(url):
20722071
conn = make_x509_conn(url)
2073-
#r1=conn.request("GET",'/sitedb/data/prod/data-processing', headers={"Accept":"*/*"})
20742072
r1=conn.request("GET",'/api/cms/site/query/?json&preset=data-processing', headers={"Accept":"application/json"})
20752073
r2=conn.getresponse()
20762074
r = json.loads(r2.read())['result']

0 commit comments

Comments
 (0)