~jelmer/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/apps/branch.py

  • Committer: Matt Nordhoff
  • Date: 2009-05-13 14:03:48 UTC
  • mto: (389.2.2 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20090513140348-yn43gztulksm62e9
Always use a tuple in string formatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        self._config = config
37
37
        self.friendly_name = friendly_name
38
38
        self.branch_link = branch_link  # Currently only used in Launchpad
39
 
        self.log = logging.getLogger('loggerhead.%s' % friendly_name)
 
39
        self.log = logging.getLogger('loggerhead.%s' % (friendly_name,))
40
40
        if graph_cache is None:
41
41
            graph_cache = bzrlib.lru_cache.LRUCache(10)
42
42
        self.graph_cache = graph_cache