Skip to content

Commit

Permalink
Merge pull request #14041 from deguio/fixEvD
Browse files Browse the repository at this point in the history
fix EvD following the evolution of the T0 API
  • Loading branch information
cmsbuild committed Apr 14, 2016
2 parents f30cae3 + 567df88 commit 5bdbb54
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -202,8 +202,8 @@ def expressGlobalTag(self):
gt = "UNKNOWN"
json = self.getData(url)
results = self.getResultList(json)
config = ast.literal_eval(results[0])[0]
gt = config['global_tag']
config = results[0]
gt = str(config['global_tag'])
# FIXME: do we realluy need to raise?
if gt == "UNKNOWN":
raise KeyError
Expand Down

0 comments on commit 5bdbb54

Please sign in to comment.