Skip to content

Commit

Permalink
Remove out() function as it is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoulter committed Oct 3, 2011
1 parent 7d42f96 commit 2d5d6e8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions postman/__main__.py
Expand Up @@ -8,12 +8,6 @@
from postman import __version__


def out(msg, args):
if args.verbose:
sys.stdout.write("%s\n" % msg)
sys.stdout.flush()


def cmd_send(args):
ses = boto.connect_ses()
msg = sys.stdin.read()
Expand Down Expand Up @@ -44,7 +38,7 @@ def cmd_verify(args):
ses = boto.connect_ses()
for email in args.email:
ses.verify_email_address(email)
out("Verification for %s sent." % email, args)
print("Verification for {0} sent.".format(email))


def cmd_list_verified(_args):
Expand Down Expand Up @@ -93,7 +87,7 @@ def cmd_delete_verified(args):
ses = boto.connect_ses()
for email in args.email:
ses.delete_verified_email_address(email_address=email)
out("Deleted %s" % email, args)
print("Deleted {0}".format(email))


def main():
Expand Down

0 comments on commit 2d5d6e8

Please sign in to comment.