aboutsummaryrefslogtreecommitdiffstats
path: root/pygm2n
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2014-12-30 10:56:22 +0100
committerMatěj Cepl <mcepl@cepl.eu>2014-12-30 10:56:22 +0100
commitb51ede52742e2b94c77b83959cda081bad9675dd (patch)
tree939d4357897c9b37eacfd60eb627c8c456b15d06 /pygm2n
parent7ec260bf257c3ca25b349ddb481d2f8b636f0056 (diff)
downloadpygn-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-xpygm2n5
1 files changed, 0 insertions, 5 deletions
diff --git a/pygm2n b/pygm2n
index 81561be..451c25a 100755
--- a/pygm2n
+++ b/pygm2n
@@ -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: