catherder/classes.py
def update_remote(self, other, **kwargs):
        r"""Update the remote based on data from an alternate source.

        Args:
            other (object): Data from alternate source that should be used to
                update the remote.
            **kwargs: Additional keyword arguments are passed to
                get_updated_from_other and upload_remote.

        """
        self.update_state()
        old = self.local_data
        new = self.get_updated_from_other(other, **kwargs)
        diff = utils.get_diff(old, new)
        if diff:
            self.logger.info("Diff = \n%s\n" % diff)
            if self.always_yes or (input('y/[n]?: ').lower() in ['y', 'yes']):
                if new is not None:
                    self.upload_remote(new, **kwargs)
                self.update_state()
        else:
            self.logger.info("No updates necessary.")
r"""Update the remote based on data from an alternate source.

        Args:
            other (object): Data from alternate source that should be used to
                update the remote.
            **kwargs: Additional keyword arguments are passed to
                get_updated_from_other and upload_remote.

        
r"""Update the remote based on data from an alternate source.
r " " " Update the remote based on data from an alternate source .
def update_remote(self, other, **kwargs):
        self.update_state()
        old = self.local_data
        new = self.get_updated_from_other(other, **kwargs)
        diff = utils.get_diff(old, new)
        if diff:
            self.logger.info("Diff = \n%s\n" % diff)
            if self.always_yes or (input('y/[n]?: ').lower() in ['y', 'yes']):
                if new is not None:
                    self.upload_remote(new, **kwargs)
                self.update_state()
        else:
            self.logger.info("No updates necessary.")
def update_remote ( self , other , ** kwargs ) : self . update_state ( ) old = self . local_data new = self . get_updated_from_other ( other , ** kwargs ) diff = utils . get_diff ( old , new ) if diff : self . logger . info ( "Diff = \n%s\n" % diff ) if self . always_yes or ( input ( 'y/[n]?: ' ) . lower ( ) in [ 'y' , 'yes' ] ) : if new is not None : self . upload_remote ( new , ** kwargs ) self . update_state ( ) else : self . logger . info ( "No updates necessary." )
r"""Update the remote based on data from an alternate source.
r " " " Update the remote based on data from an alternate source .
r"""Update the remote based on data from an alternate source.

        Args:
            other (object): Data from alternate source that should be used to
                update the remote.
            **kwargs: Additional keyword arguments are passed to
                get_updated_from_other and upload_remote.

        """
self
other
Data from alternate source that should be used to
update the remote.
Data from alternate source that should be used to update the remote .
**kwargs
Additional keyword arguments are passed to
get_updated_from_other and upload_remote.
Additional keyword arguments are passed to get_updated_from_other and upload_remote .