Changeset 1668

Show
Ignore:
Timestamp:
12/11/06 11:26:45 (2 years ago)
Author:
eblot
Message:

RevtreePlugin:

  • Fix up static files inclusion in setup.py
  • Fix up a flaw (non-existing branch access) in model.py
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • revtreeplugin/0.10/revtree/model.py

    r1633 r1668  
    250250    def branch(self, branchname): 
    251251        """Returns a tracked branch from its name (path)""" 
    252         return self._branches[branchname] 
     252        if not self._branches.has_key(branchname): 
     253            return None 
     254        else: 
     255            return self._branches[branchname] 
    253256 
    254257    def changesets(self): 
  • revtreeplugin/0.10/setup.py

    r1666 r1668  
    3232            'htdocs/css/*.css', 
    3333            'htdocs/js/*.js', 
     34            'htdocs/images/*.gif', 
    3435            'templates/*.cs' 
    3536        ]