def getProfileBaseName(repository):
 if (repository.getProfileDirectory == None):
  return repository.baseName
 return os.path.join(repository.getProfileDirectory(), repository.baseName)

def getProfileBaseName ( repository ) : if ( repository . getProfileDirectory == None ) : return repository . baseName return os . path . join ( repository . getProfileDirectory ( ) , repository . baseName )
get the profile base file name .