From c8c0380744afd107611bba17127a182ecebd4e0b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 5 Dec 2011 21:04:20 +0000 Subject: * Remove unnecessary quotes. showPaths() already adds quotes. --- src/libstore/local-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index a353168ff..5107a93de 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1347,7 +1347,7 @@ void LocalStore::deleteFromStore(const Path & path, unsigned long long & bytesFr PathSet referrers; queryReferrers(path, referrers); referrers.erase(path); /* ignore self-references */ if (!referrers.empty()) - throw PathInUse(format("cannot delete path `%1%' because it is in use by `%2%'") + throw PathInUse(format("cannot delete path `%1%' because it is in use by %2%") % path % showPaths(referrers)); invalidatePath(path); } -- cgit v1.2.3