~soren/nova/get-console-log-fixes

« back to all changes in this revision

Viewing changes to nova/compute/disk.py

  • Committer: Jesse Andrews
  • Date: 2010-07-15 23:13:48 UTC
  • mto: This revision was merged to the branch mainline in revision 142.
  • Revision ID: jesse@gigantor.local-20100715231348-vml8qldrdofx79do
reorder imports spacing

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import logging
25
25
import os
26
26
import tempfile
27
 
 
28
 
 
29
27
from twisted.internet import defer
30
28
 
31
29
from nova import exception
32
30
 
 
31
 
33
32
@defer.inlineCallbacks
34
33
def partition(infile, outfile, local_bytes=0, local_type='ext2', execute=None):
35
34
    """Takes a single partition represented by infile and writes a bootable