diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-08-07 22:08:24 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-08-07 22:08:24 +0000 |
commit | 23acd0ef21c1aac659567a0244265b731ecff111 (patch) | |
tree | 741b11d07c44c9cd63e1c5f3b9b3a741055723e7 | |
parent | 5dcc067352215541124bb4a28cef82f421494f9d (diff) | |
download | portage-23acd0ef21c1aac659567a0244265b731ecff111.tar.gz portage-23acd0ef21c1aac659567a0244265b731ecff111.tar.bz2 portage-23acd0ef21c1aac659567a0244265b731ecff111.zip |
When testing containment of elem[:1] in "MR", filter potential empty string
matches.
svn path=/main/trunk/; revision=11344
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
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. |