summaryrefslogtreecommitdiff
path: root/Command/Drop.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-30 14:11:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-30 14:11:59 -0400
commit9751908b69f166ad26183b7d3cdd3b0fb7b3830a (patch)
treef66a01c5145ff704cc862dc67c320e95368d8219 /Command/Drop.hs
parentee8845d48d6e70424a7dd65e45d5d2aaba5edab1 (diff)
move nubbing into function whose algo needs a nubbed list
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r--Command/Drop.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs
index a1362ca84..a3ac87633 100644
--- a/Command/Drop.hs
+++ b/Command/Drop.hs
@@ -72,7 +72,7 @@ performLocal key afile numcopies knownpresentremote = lockContent key $ \content
(remotes, trusteduuids) <- Remote.keyPossibilitiesTrusted key
let trusteduuids' = case knownpresentremote of
Nothing -> trusteduuids
- Just r -> nub (Remote.uuid r:trusteduuids)
+ Just r -> Remote.uuid r:trusteduuids
untrusteduuids <- trustGet UnTrusted
let tocheck = Remote.remotesWithoutUUID remotes (trusteduuids'++untrusteduuids)
u <- getUUID