<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository mpbot-github.
</pre>
<p><a href="https://github.com/macports/mpbot-github/commit/f54caea853507d2e19845eef5947881560a127c0">https://github.com/macports/mpbot-github/commit/f54caea853507d2e19845eef5947881560a127c0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f54caea pr: Fix nomaintainer parsing
</span>f54caea is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f54caea853507d2e19845eef5947881560a127c0
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sun Jan 6 02:11:40 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> pr: Fix nomaintainer parsing
</span>---
pr/db/dbutil.go | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/pr/db/dbutil.go b/pr/db/dbutil.go
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ce1e83..276a75c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/pr/db/dbutil.go
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/pr/db/dbutil.go
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -151,11 +151,7 @@ func (sqlDB *sqlDBHelper) GetPortMaintainer(port string) (*PortMaintainer, error
</span> return nil, errors.New("port not found")
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if maintainer.Primary == nil {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if len(maintainer.Others) < 1 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return nil, errors.New("no maintainers found")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if maintainer.Primary == nil && len(maintainer.Others) > 0 {
</span> maintainer.Primary = maintainer.Others[0]
maintainer.Others = maintainer.Others[1:]
}
</pre><pre style='margin:0'>
</pre>