From 760f8ab86c916f884ee4666ab7203caa8f5ec686 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 Jan 2015 13:14:44 -0400 Subject: remove unnecessary qualification --- Remote.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Remote.hs') diff --git a/Remote.hs b/Remote.hs index 2f0bb2111..24923337b 100644 --- a/Remote.hs +++ b/Remote.hs @@ -131,8 +131,8 @@ byNameOrGroup :: RemoteName -> Annex [Remote] byNameOrGroup n = go =<< getConfigMaybe (ConfigKey ("remotes." ++ n)) where go (Just l) = concatMap maybeToList <$> - mapM (Remote.byName . Just) (split " " l) - go Nothing = maybeToList <$> Remote.byName (Just n) + mapM (byName . Just) (split " " l) + go Nothing = maybeToList <$> byName (Just n) {- Only matches remote name, not UUID -} byNameOnly :: RemoteName -> Annex (Maybe Remote) @@ -279,8 +279,8 @@ showLocations key exclude nolocmsg = do untrusteduuids <- trustGet UnTrusted let uuidswanted = filteruuids uuids (u:exclude++untrusteduuids) let uuidsskipped = filteruuids uuids (u:exclude++uuidswanted) - ppuuidswanted <- Remote.prettyPrintUUIDs "wanted" uuidswanted - ppuuidsskipped <- Remote.prettyPrintUUIDs "skipped" uuidsskipped + ppuuidswanted <- prettyPrintUUIDs "wanted" uuidswanted + ppuuidsskipped <- prettyPrintUUIDs "skipped" uuidsskipped showLongNote $ message ppuuidswanted ppuuidsskipped ignored <- filter (remoteAnnexIgnore . gitconfig) <$> remoteList unless (null ignored) $ -- cgit v1.2.3