1 -def requiresAfsToken(): 2 return getLocalRoot().find('/afs') == 0 3 4 -def requiresGridProxy(): 5 return False 6 7 -def getLocalRoot(): 8 from Ganga.Utility.files import fullpath 9 import Ganga.Core.FileWorkspace 10 return fullpath(Ganga.Core.FileWorkspace.gettop()) 11 12 13 -def bootstrap(): 14 pass 15