Switch to unified view

a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
...
...
328
            state(p).soil()
328
            state(p).soil()
329
        return p
329
        return p
330
330
331
    def register_project(self, neighborhood, shortname, project_name, user, user_project, private_project):
331
    def register_project(self, neighborhood, shortname, project_name, user, user_project, private_project):
332
        '''Register a new project in the neighborhood.  The given user will
332
        '''Register a new project in the neighborhood.  The given user will
333
        become the project's superuser.  If no user is specified, c.user is used.
333
        become the project's superuser.
334
        '''
334
        '''
335
        from allura import model as M
335
        from allura import model as M
336
        if not h.re_path_portion.match(shortname.replace('/', '')):
336
        if not h.re_path_portion.match(shortname.replace('/', '')):
337
            raise ValueError('Invalid project shortname: %s' % shortname)
337
            raise ValueError('Invalid project shortname: %s' % shortname)
338
        try:
338
        try: