Forgot to gofmt

This commit is contained in:
swgillespie 2014-03-29 15:18:25 -07:00
parent 2d07120891
commit ed18293ab3
2 changed files with 6 additions and 6 deletions

View file

@ -8,9 +8,9 @@ import (
// for publishing build artifacts when // for publishing build artifacts when
// a Build has succeeded // a Build has succeeded
type Publish struct { type Publish struct {
S3 *S3 `yaml:"s3,omitempty"` S3 *S3 `yaml:"s3,omitempty"`
Swift *Swift `yaml:"swift,omitempty"` Swift *Swift `yaml:"swift,omitempty"`
PyPI *PyPI `yaml:"pypi,omitempty"` PyPI *PyPI `yaml:"pypi,omitempty"`
} }
func (p *Publish) Write(f *buildfile.Buildfile) { func (p *Publish) Write(f *buildfile.Buildfile) {

View file

@ -29,9 +29,9 @@ fi
` `
type PyPI struct { type PyPI struct {
Username string `yaml:"username,omitempty"` Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"` Password string `yaml:"password,omitempty"`
Formats []string `yaml:"formats,omitempty"` Formats []string `yaml:"formats,omitempty"`
} }
func (p *PyPI) Write(f *buildfile.Buildfile) { func (p *PyPI) Write(f *buildfile.Buildfile) {
@ -62,5 +62,5 @@ func (p *PyPI) BuildFormatStr() string {
for i := range p.Formats { for i := range p.Formats {
fmtStr += p.Formats[i] + "," fmtStr += p.Formats[i] + ","
} }
return fmtStr[:len(fmtStr) - 1] return fmtStr[:len(fmtStr)-1]
} }