blob: 5b8e2277a13e12f279b3ba9f512fecd903204d59 [file] [log] [blame]
Andy Bavier89a95422016-11-02 14:38:39 -04001import os
2import base64
3from django.db.models import F, Q
4from xos.config import Config
5from core.models.image import Image
6from xos.logger import observer_logger as logger
7from synchronizers.base.syncstep import *
8
9class SyncImages(SyncStep):
10 provides=[Image]
11 requested_interval=0
12 observes=Image
13
14 # We're not sync'ing sites with L-XOS
15 # Just mark it as sync'ed
16 def sync_record(self, image):
17 image.backend_status = "0 - not sync'ed by globalxos"
18 image.save()