def __header(self, path, fsrc, config_channel_src, fdst,
              config_channel_dst):
     """ Returns diff like header for this two files. """
     template = "--- %s\t%s\tattributes: %s %s %s %s\tconfig channel: %s\trevision: %s"
     first_row = template % (
         path,
         f_date(fsrc['modified']),
         ostr_to_sym(fsrc['filemode'], fsrc['label']),
         fsrc['username'],
         fsrc['groupname'],
         fsrc['selinux_ctx'],
         config_channel_src,
         fsrc['revision'],
     )
     second_row = template % (
         path,
         f_date(fdst['modified']),
         ostr_to_sym(fdst['filemode'], fdst['label']),
         fdst['username'],
         fdst['groupname'],
         fdst['selinux_ctx'],
         config_channel_dst,
         fdst['revision'],
     )
     return (first_row, second_row)
 def __header(self, path, fsrc, config_channel_src, fdst, config_channel_dst):
     """ Returns diff like header for this two files. """
     template = "--- %s\t%s\tattributes: %s %s %s %s\tconfig channel: %s\trevision: %s"
     first_row = template % (path, f_date(fsrc['modified']), ostr_to_sym(fsrc['filemode'], fsrc['label']),
                             fsrc['username'], fsrc['groupname'], fsrc['selinux_ctx'], config_channel_src,
                             fsrc['revision'],
                             )
     second_row = template % (path, f_date(fdst['modified']), ostr_to_sym(fdst['filemode'], fdst['label']),
                              fdst['username'], fdst['groupname'], fdst['selinux_ctx'], config_channel_dst,
                              fdst['revision'],
                              )
     return (first_row, second_row)