diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-30 14:00:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-30 14:00:54 -0400 |
commit | 619f07ee6a0ad875f365886096b112b6c18b0606 (patch) | |
tree | 4b2de6c0657b6d46fff477982d3bc78c2c8ccc4c /Remote.hs | |
parent | a47ed922e1302480d79f54f553532e85eebae872 (diff) |
boilerplate reduction
Diffstat (limited to 'Remote.hs')
-rw-r--r-- | Remote.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,7 +75,8 @@ genList = do mapM (gen m t) l' gen m t r = do u <- getUUID r - generate t r (M.lookup u m) + cst <- remoteCost r + generate t r u cst (M.lookup u m) {- Looks up a remote by name. (Or by UUID.) -} byName :: String -> Annex (Remote Annex) |