diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-01-05 19:52:55 +0000 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-01-05 19:52:55 +0000 |
| commit | 3d30bb1706812c4e6f9c1e01b373bb076a9f7ee3 (patch) | |
| tree | 89241c6e2dff41e3b738e82a10d9766cbf8a525a /nova/compute | |
| parent | f1f292a787ba20134c007da087bd9585d1875e86 (diff) | |
pep8 cleanup
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/disk.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/compute/disk.py b/nova/compute/disk.py index ac0d689d5..bbcd55678 100644 --- a/nova/compute/disk.py +++ b/nova/compute/disk.py @@ -199,6 +199,7 @@ def _unlink_device(device, nbd): _DEVICES = ['/dev/nbd%s' % i for i in xrange(16)] + def _allocate_device(): # NOTE(vish): This assumes no other processes are using nbd devices. # It will race cause a race condition if multiple |
