Comment 4 for bug 1982534

Revision history for this message
Robie Basak (racb) wrote :

I see the following in the diff. Is this an intended change? I don't see any mention of it in the changelog or in this bug:

--- a/DistUpgrade/apt_btrfs_snapshot.py
+++ b/DistUpgrade/apt_btrfs_snapshot.py
@@ -73,11 +73,11 @@ class Fstab(list):
         super(Fstab, self).__init__()

         with open(fstab) as fstab_file:
- for line in (l.strip() for l in fstab_file):
- if line == "" or line.startswith("#"):
+ for stripped_line in (line.strip() for line in fstab_file):
+ if stripped_line == "" or stripped_line.startswith("#"):
                     continue
                 try:
- entry = FstabEntry.from_line(line)
+ entry = FstabEntry.from_line(stripped_line)