Changeset - 142a05597cba
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-10-07 16:33:01
marcin@python-works.com
assure that we don't have an empty description when creating a repo
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/repo.py
Show inline comments
 
@@ -192,6 +192,9 @@ class RepoModel(BaseModel):
 
                if k == 'repo_group':
 
                    k = 'group_id'
 

	
 
                if k == 'description':
 
                    v = v or repo_name
 

	
 
                setattr(new_repo, k, v)
 

	
 
            if fork:
0 comments (0 inline, 0 general)