~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/devscripts/ec2test/remote.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-25 08:55:37 UTC
  • mfrom: (13287.1.8 bug-800652)
  • Revision ID: launchpad@pqm.canonical.com-20110625085537-moikyoo2pe98zs7r
[r=jcsackett, julian-edwards][bug=800634,
        800652] Enable and display overrides on sync package uploads.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
__metatype__ = type
20
20
 
21
21
import datetime
22
 
from email import (
23
 
    MIMEMultipart,
24
 
    MIMEText,
25
 
    )
 
22
from email import MIMEMultipart, MIMEText
26
23
from email.mime.application import MIMEApplication
27
24
import errno
28
25
import gzip
176
173
 
177
174
        time.sleep(self.SHUTDOWN_DELAY)
178
175
 
179
 
        # Cancel the running shutdown.
180
 
        subprocess.call(['sudo', 'shutdown', '-c'])
181
 
 
182
176
        # We'll only get here if --postmortem didn't kill us.  This is our
183
177
        # fail-safe shutdown, in case the user got disconnected or suffered
184
178
        # some other mishap that would prevent them from shutting down this