mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
17 lines
456 B
Python
17 lines
456 B
Python
from base import BasePartition
|
|
|
|
|
|
class PartitionGap(BasePartition):
|
|
"""Represents a non-existent partition
|
|
A gap in the partitionmap
|
|
"""
|
|
|
|
# The states for our state machine. It can neither be create nor mapped.
|
|
events = []
|
|
|
|
def __init__(self, size, previous):
|
|
"""
|
|
:param Bytes size: Size of the partition
|
|
:param BasePartition previous: The partition that preceeds this one
|
|
"""
|
|
super(PartitionGap, self).__init__(size, None, None, previous)
|