Avoid race condition in target list init
authorbep <bjorn.erik.pedersen@gmail.com>
Fri, 20 Feb 2015 17:38:35 +0000 (18:38 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Fri, 20 Feb 2015 17:38:35 +0000 (18:38 +0100)
commitdc7b7ef865f5ba568702e867a29408e7f1a25be7
tree59e7180ad174efbffb815ce931f0b052616715e5
parentc33a8528f864b71f046e0325121a809580d85531
Avoid race condition in target list init

As reported by Go's race detector.

See #917
hugolib/site.go