Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor cleanup of unnecessary code: we don't need to houskeep Popen.

  • Loading branch information...
commit 8ebe6dd91d7625e3b048b384d7194b3a76dd679a 1 parent 6933c1c
@tupton authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  pastebin.py
View
2  pastebin.py
@@ -279,8 +279,6 @@ def growl_notify(pastebin_response):
growl_helper_applescript = 'tell application "System Events" to (name of processes) contains "GrowlHelperApp"'
osascript = Popen("osascript -e '" + growl_helper_applescript + "'", shell=True, stdout=PIPE)
stdout,stderr = osascript.communicate()
- osascript.stdout.close();
- osascript = None
if stdout.strip() == "true":
growl_app = 'GrowlHelperApp'
Please sign in to comment.
Something went wrong with that request. Please try again.