From ed18293ab3ffd803ff5af9dbe59eb0e602f8386f Mon Sep 17 00:00:00 2001 From: swgillespie Date: Sat, 29 Mar 2014 15:18:25 -0700 Subject: [PATCH] Forgot to gofmt --- pkg/plugin/publish/publish.go | 4 ++-- pkg/plugin/publish/pypi.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/plugin/publish/publish.go b/pkg/plugin/publish/publish.go index 83f891f73..2cfbf6deb 100644 --- a/pkg/plugin/publish/publish.go +++ b/pkg/plugin/publish/publish.go @@ -8,9 +8,9 @@ import ( // for publishing build artifacts when // a Build has succeeded type Publish struct { - S3 *S3 `yaml:"s3,omitempty"` + S3 *S3 `yaml:"s3,omitempty"` Swift *Swift `yaml:"swift,omitempty"` - PyPI *PyPI `yaml:"pypi,omitempty"` + PyPI *PyPI `yaml:"pypi,omitempty"` } func (p *Publish) Write(f *buildfile.Buildfile) { diff --git a/pkg/plugin/publish/pypi.go b/pkg/plugin/publish/pypi.go index bf55c1ae0..67c6f33d2 100644 --- a/pkg/plugin/publish/pypi.go +++ b/pkg/plugin/publish/pypi.go @@ -29,9 +29,9 @@ fi ` type PyPI struct { - Username string `yaml:"username,omitempty"` - Password string `yaml:"password,omitempty"` - Formats []string `yaml:"formats,omitempty"` + Username string `yaml:"username,omitempty"` + Password string `yaml:"password,omitempty"` + Formats []string `yaml:"formats,omitempty"` } func (p *PyPI) Write(f *buildfile.Buildfile) { @@ -62,5 +62,5 @@ func (p *PyPI) BuildFormatStr() string { for i := range p.Formats { fmtStr += p.Formats[i] + "," } - return fmtStr[:len(fmtStr) - 1] + return fmtStr[:len(fmtStr)-1] }