Remove testing code.
This commit is contained in:
parent
2bce9b68db
commit
6f292fec6b
1 changed files with 1 additions and 3 deletions
|
@ -138,7 +138,7 @@ class Group(controllers.Controller):
|
|||
if not canCreateGroup(userName):
|
||||
turbogears.flash(_('Only FAS adminstrators can create groups.'))
|
||||
turbogears.redirect('/')
|
||||
if 1:
|
||||
try:
|
||||
fas.fasLDAP.Group.newGroup(groupName,
|
||||
fedoraGroupDesc,
|
||||
fedoraGroupOwner,
|
||||
|
@ -146,8 +146,6 @@ class Group(controllers.Controller):
|
|||
fedoraGroupUserCanRemove,
|
||||
fedoraGroupRequires,
|
||||
fedoraGroupJoinMsg)
|
||||
try:
|
||||
1
|
||||
except:
|
||||
turbogears.flash(_("The group: '%s' could not be created.") % groupName)
|
||||
return dict()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue