(context)
Checks context if disk resources need to be added.
Checks context if disk resources need to be added.
Checks context if disk resources need to be added .
def AddDiskResourcesIfNeeded(context):
  """Checks context if disk resources need to be added."""
  if default.DISK_RESOURCES in context.properties:
    return context.properties[default.DISK_RESOURCES]
  else:
    return []
def AddDiskResourcesIfNeeded ( context ) : if default . DISK_RESOURCES in context . properties : return context . properties [ default . DISK_RESOURCES ] else : return [ ]