1. VectorLinux Core
  2. vinstall


Rodrigo Bistolfi  committed 9bdfa96

Fixed NameError in partitioning.py

  • Participants
  • Parent commits 6a01ac1
  • Branches advanced_autopartition

Comments (0)

Files changed (1)

File vinstall/backend/partitioning.py

View file
         """ Delete all partitions from drive
-        assert self.disk._has_partition_table is True, "No partition table on disk."
-        self.disk.deleteAllPartitions()
+        assert self.disk.has_partition_table is True, "No partition table on disk."
+        self.disk._disk.deleteAllPartitions()
     def add_partition(self,  size=0, units='MB'):
         """Add a partition to the disk.