Commits

Jason R. Coombs committed 1f7f71d

Removed unused imports

  • Participants
  • Parent commits b5fa169

Comments (0)

Files changed (1)

File jaraco/net/notification.py

 
 from __future__ import print_function
 
-import string
 import smtplib
-import socket
-import sys
 import traceback
 import itertools
 import io
 
 from jaraco.util.dictlib import DictFilter
-from jaraco.util.itertools import flatten
 
 class NotificationTarget(object):
 	def write(self, msg):
 	def __call__(self, *args, **kargs):
 		try:
 			return self.target_func(*args, **kargs)
-		except Exception, e:
+		except Exception:
 			print('Unhandled exception encountered', file=self)
 			traceback.print_exc(file=self)
 			self.flush()