diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2014-12-30 10:56:22 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2014-12-30 10:56:22 +0100 |
commit | b51ede52742e2b94c77b83959cda081bad9675dd (patch) | |
tree | 939d4357897c9b37eacfd60eb627c8c456b15d06 /pygm2n | |
parent | 7ec260bf257c3ca25b349ddb481d2f8b636f0056 (diff) | |
download | pyg-b51ede52742e2b94c77b83959cda081bad9675dd.tar.gz |
Remove useless debug parameter (not used anywhere).
Also rename my email about problems with pygn to *.eml.
Fix storing logfile in the current directory, instead of $HOME.
Fixes #7
Diffstat (limited to 'pygm2n')
-rwxr-xr-x | pygm2n | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -51,7 +51,6 @@ def parse_cmdline(): parser.add_argument('-T', '--test', action='store_true', help='test mode (not send article via NNTP)') - parser.add_argument('-d', '--debug', action='store_true') parser.add_argument('-V', '--verbose', action='store_true', help='verbose output ' + '(usefull with -T option for debugging)') @@ -105,10 +104,6 @@ try: if opt.verbose: print(m2n.message.as_string()) - """phase 4: - open smtp connection and send e-mail - """ - if len(m2n.headers) > 0 and len(m2n.message.get_payload()) > 0: # wl.logmsg(m2n.heads_dict,wl.ACCEPT,owner) if not opt.test: |