#NEWLINE# def clean( self ) : #NEWLINE# #INDENT# '\n            Clean method for moderating repository name.\n        ' #NEWLINE# self . cleaned_data [ 'name' ] = self . _moderate_name ( self . data [ 'name' ] ) #NEWLINE# name = name . cleaned_data [ 'name' ] #NEWLINE# if self . _repo_exists ( name ) : #NEWLINE# #INDENT# raise forms . ValidationError ( 'You have another repository with this name.' ) #NEWLINE# #UNINDENT# return self . cleaned_data