• Nikos Skalkotos's avatar
    Reference disk.file in the begging of snapshot() · fed9ea24
    Nikos Skalkotos authored
    If you print the snapshotting message before disk.file is referenced,
    you may end up outputting messages like this:
    
    Snapshotting media source ... Examining source media `<image_file>' ...
    
    Instead of:
    
    Examining source media `<image_file>' ... looks like a block device
    Snapshotting media source ... done
    fed9ea24
disk.py 6.81 KB