projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migrate things to python3
[ansible.git]
/
roles
/
email
/
templates
/
newmail
/
newmail
diff --git
a/roles/email/templates/newmail/newmail
b/roles/email/templates/newmail/newmail
index 86a1d99de21dc73e0f33d8aac0883327d49f11fc..4f3785909c30159c4b91b8915aabd31b5b8a4e2b 100755
(executable)
--- a/
roles/email/templates/newmail/newmail
+++ b/
roles/email/templates/newmail/newmail
@@
-1,8
+1,8
@@
-#!/usr/bin/env python
2
+#!/usr/bin/env python
3
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-from __future__ import print_function
+
import sys, os, random, MySQLdb, subprocess, time, string, argparse
import sys, os, random, MySQLdb, subprocess, time, string, argparse
-import
urllib,
smtplib, email.mime.text, email.utils
+import smtplib, email.mime.text, email.utils
from settings import *
from templates import *
from settings import *
from templates import *