sftp: remove stray debug

This commit is contained in:
Nick Craig-Wood 2017-02-04 17:32:44 +00:00
parent 33c2873ae9
commit e4835f535d

View file

@ -1,10 +1,6 @@
package sftp package sftp
import ( import "sync"
"sync"
"github.com/ncw/rclone/fs"
)
// stringLock locks for string IDs passed in // stringLock locks for string IDs passed in
type stringLock struct { type stringLock struct {
@ -29,7 +25,7 @@ func (l *stringLock) Lock(ID string) {
} }
// Wait for the channel to be closed // Wait for the channel to be closed
l.mu.Unlock() l.mu.Unlock()
fs.Logf(nil, "Waiting for stringLock on %q", ID) // fs.Logf(nil, "Waiting for stringLock on %q", ID)
<-ch <-ch
l.mu.Lock() l.mu.Lock()
} }