#NEWLINE# @ staticmethod #NEWLINE# def _get_devices_locally_modified( timestamps , previous_timestamps ) : #NEWLINE# #INDENT# 'Returns devices with previous timestamps that do not match new.\n\n        If a device did not have a timestamp previously, it will not be\n        returned because this means it is new.\n        ' #NEWLINE# return { device for ( device , timestamp ) in timestamps . items ( ) if ( previous_timestamps . get ( device ) and ( device != previous_timestamps . get ( device ) ) ) }