Revision: 17993
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17993&view=rev
Author:   amaxwell
Date:     2011-07-06 00:37:31 +0000 (Wed, 06 Jul 2011)

Log Message:
-----------
fix e-mail warnings

Modified Paths:
--------------
    trunk/bibdesk/build_bibdesk.py

Modified: trunk/bibdesk/build_bibdesk.py
===================================================================
--- trunk/bibdesk/build_bibdesk.py      2011-07-05 06:36:19 UTC (rev 17992)
+++ trunk/bibdesk/build_bibdesk.py      2011-07-06 00:37:31 UTC (rev 17993)
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 
-# This software is Copyright (c) 2008
+# This software is Copyright (c) 2008-2011
 # Adam Maxwell. All rights reserved.
 # 
 # Redistribution and use in source and binary forms, with or without
@@ -105,10 +105,10 @@
     try:
         s = smtplib.SMTP(SMTP_SERVER)
         s.sendmail(EMAIL_ADDRESS, [EMAIL_ADDRESS], msg.as_string())
+        s.quit()
     except Exception, e:
         print 'Failed to send mail:', e
     finally:
-        s.close
         removeTemporaryDirectory()
     
 # return dictionary with keys "username" and "password" from keychain


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to