def _increment_sync_num(*args, **kwargs):
 KEY = datetime.date.today()
 if (cache.get(KEY) is not None):
  cache.incr(KEY)

def _increment_sync_num ( * args , ** kwargs ) : KEY = datetime . date . today ( ) if ( cache . get ( KEY ) is not None ) : cache . incr ( KEY )
increment the sync_num .