Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:12

0001 import sys
0002 
0003 def func(var):
0004     out = var.split('/')
0005     print (out[27])
0006     return out[27]
0007 
0008 def betterfunc(var):
0009     ar = var.split(':')
0010     for x in range (0,len(ar)):
0011         if(ar[x].find('boost') >= 0):
0012             out = ar[x]
0013     out = out.replace('/include','')
0014     print (out)
0015     return out
0016 
0017 betterfunc(sys.argv[1])