Changeset 551

Show
Ignore:
Timestamp:
03/25/06 20:33:50 (3 years ago)
Author:
athomas
Message:

ChangeLogPlugin:

  • Don't die horribly if req.authname is not available.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • changelogplugin/0.9/tracchangelog/tracchangelog.py

    r418 r551  
    3030        path, limit, rev = ([x.strip() for x in (content or '').split(',')] + [0, 9999])[0:3] 
    3131 
     32        if not hasattr(req, 'authname'): 
     33            return Markup('<i>Changelog not available</i>') 
     34 
    3235        repo = self.env.get_repository(req.authname) 
    3336