U
    •Çgu  ã                   @   s,   d dl T d dlZG dd„ dejjjjƒZdS )é    )Ú*Nc                       s   e Zd Z‡ fdd„Z‡  ZS )Ú
CmfGitRepoc                    sR   | j  ¡ j ¡ | _| jjrD| jrD|  dg¡ | j jj}d |_| 	¡  t
ƒ j	f |ŽS )Nzgit_plugin.plugin)Z
git_pluginÚloadÚtypeÚsyncZ
is_changedZload_fieldsÚpluginÚvalueZsync_last_datetimeÚsaveÚsuper)ÚselfÚkwargsr   ©Ú	__class__© ú$./modules/git/models/cmf_git_repo.pyr	      s    
zCmfGitRepo.save)Ú__name__Ú
__module__Ú__qualname__r	   Ú__classcell__r   r   r   r   r      s   r   )Zcmf.includeZmodules.git.fields.cmf_git_repoÚmodulesÚgitZfieldsZcmf_git_repor   r   r   r   r   Ú<module>   s   