def get_repository_dir(name):
 if (name == 'spinnaker'):
  return os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
 else:
  return name

def get_repository_dir ( name ) : if ( name == 'spinnaker' ) : return os . path . abspath ( os . path . join ( os . path . dirname ( __file__ ) , '..' ) ) else : return name
determine the local directory that a given repository is in .