GENI-NSF / geni-ch

GENI clearinghouse services
Other
3 stars 6 forks source link

Remove getenv call, use __file__ #486

Closed tcmitchell closed 8 years ago

tcmitchell commented 8 years ago

Use file instead of getenv to locate the current file on the filesystem. getenv doesn't work in the WSGI world, at least the way we have it configured.

tcmitchell commented 8 years ago

Why are we invoking a subprocess of ABACManager from within ABACManager and communicating results via stdout? Couldn't we just call the methods and get the results?