~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/branch.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-06 01:38:43 UTC
  • mto: This revision was merged to the branch mainline in revision 4084.
  • Revision ID: andrew.bennetts@canonical.com-20090306013843-w67vyhrv36ecy1p6
Fix trivial bug in get_parent RPC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
    def do_with_branch(self, branch):
98
98
        """Return the parent of branch."""
99
99
        parent = branch._get_parent_location() or ''
100
 
        return SuccessfulSmartServerResponse((parent))
 
100
        return SuccessfulSmartServerResponse((parent,))
101
101
 
102
102
 
103
103
class SmartServerBranchRequestGetStackedOnURL(SmartServerBranchRequest):