(Steve Dougherty)
2013-06-21: More specific no-Freemail warnings. More specific no-Freemail warnings. Also adds newlines.
diff --git a/infocalypse/wot.py b/infocalypse/wot.py
--- a/infocalypse/wot.py
+++ b/infocalypse/wot.py
@@ -20,8 +20,12 @@ def send_pull_request(ui, from_identity,
to_address = to_freemail_address(to_identity)
if from_address is None or to_address is None:
- ui.warn("At least one of {0} and {2} is not using Freemail."
- .format(from_identity['Nickname'], to_identity['Nickname']))
+ if from_address is None:
+ ui.warn("{0} is not using Freemail.\n".format(from_identity[
+ 'Nickname']))
+ if to_address is None:
+ ui.warn("{0} is not using Freemail.\n".format(to_identity[
+ 'Nickname']))
return
# TODO: Use FCP host; default port.