original_docstring: Check for different Md5 in CloudFiles vs Local File.
  
      If the md5 sum is different, return True else False
  
      :param localfile:
      :return True|False:
      
docstring: Check for different Md5 in CloudFiles vs Local File.
  If the md5 sum is different, return True else False
docstring_tokens: Check for different Md5 in CloudFiles vs Local File . If the md5 sum is different return True else False
code: def md5_checker(localfile):
      """Check for different Md5 in CloudFiles vs Local File.
  
      If the md5 sum is different, return True else False
  
      :param localfile:
      :return True|False:
      """
  
      def calc_hash():
          """Read the hash.
  
          :return data_hash.read():
          """
  
          return data_hash.read(128 * md5.block_size)
  
      if os.path.isfile(localfile) is True:
          md5 = hashlib.md5()
          with open(localfile, 'rb') as data_hash:
              for chk in iter(calc_hash, ''):
                  md5.update(chk)
  
          return md5.hexdigest()
      else:
          raise SystemExit('This [ %s ] is not a file.' % localfile)
code_tokens: def md5_checker ( localfile ) : def calc_hash ( ) : """Read the hash.
  
          :return data_hash.read():
          """ return data_hash . read ( 128 * md5 . block_size ) if os . path . isfile ( localfile ) is True : md5 = hashlib . md5 ( ) with open ( localfile , 'rb' ) as data_hash : for chk in iter ( calc_hash , '' ) : md5 . update ( chk ) return md5 . hexdigest ( ) else : raise SystemExit ( 'This [ %s ] is not a file.' % localfile )
short_docstring: Check for different Md5 in CloudFiles vs Local File.
short_docstring_tokens: Check for different Md5 in CloudFiles vs Local File .
comment: """Check for different Md5 in CloudFiles vs Local File.
  
      If the md5 sum is different, return True else False
  
      :param localfile:
      :return True|False:
      """$SEP$"""Read the hash.
  
          :return data_hash.read():
          """