From 23acd0ef21c1aac659567a0244265b731ecff111 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Aug 2008 22:08:24 +0000 Subject: [PATCH] When testing containment of elem[:1] in "MR", filter potential empty string matches. svn path=/main/trunk/; revision=11344 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 26a669d34..18be8e5aa 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1676,7 +1676,7 @@ else: if vcs == "svn": svnstatus = os.popen("svn status").readlines() - mychanged = [ elem.rstrip()[7:] for elem in svnstatus if elem[:1] in "MR" ] + mychanged = [ elem.rstrip()[7:] for elem in svnstatus if elem and elem[:1] in "MR" ] mynew = [ elem.rstrip()[7:] for elem in svnstatus if elem.startswith("A") ] myremoved = [ elem.rstrip()[7:] for elem in svnstatus if elem.startswith("D") ] # in contrast to CVS, SVN expands nothing by default. -- 2.26.2