chiark / gitweb /
git.__remotes_from_dir() should only return lists
authorPavel Roskin <proski@gnu.org>
Wed, 5 Sep 2007 16:57:22 +0000 (12:57 -0400)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 5 Sep 2007 21:21:03 +0000 (22:21 +0100)
commit5ae6fcce77a29221e15f6a4e8348bd4276960ba1
tree4c55ebd13594c45dd049ec41c59c4cdf5d506114
parent8c0c72c713459980d03716e3471806fff14f3c8a
git.__remotes_from_dir() should only return lists

If there are no remotes, return empty list, not None.  The later doesn't
work with builtin set().

This fixes t1001-branch-rename.sh

Signed-off-by: Pavel Roskin <proski@gnu.org>
stgit/git.py