From: Steven Valdez Date: Sun, 23 Jun 2013 08:07:11 +0000 (-0400) Subject: Fixed quoting for subproc X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/update-contacts.git/commitdiff_plain Fixed quoting for subproc --- diff --git a/update-contacts b/update-contacts index 22edcc4..4377ba5 100755 --- a/update-contacts +++ b/update-contacts @@ -33,7 +33,7 @@ def stripDomain(c): def updateContacts(contacts): now = datetime.datetime.now() - p = subprocess.Popen(['blanche', '-f', '-', '-D', "\"All contacts for XVM Machines (%02d/%2d/%2d)\"" % (now.month, now.day, now.year), 'xvm-contacts'], + p = subprocess.Popen(['blanche', '-f', '-', '-D', 'All contacts for XVM Machines (%02d/%2d/%2d)' % (now.month, now.day, now.year), 'xvm-contacts'], stdin=subprocess.PIPE, )