Skip to content

Commit

Permalink
Fix inconsistent use of tab and space in the win fs driver
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudveron committed Oct 15, 2018
1 parent 283862b commit d818f42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/resFsWindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ def device_id(self):

def mount(self):
ret = 0
changed = False
changed = False

if self.volume.DriveLetter == self.drive:
self.log.info("drive %s already assigned", self.drive)
else:
self.log.info("assign drive %s", self.drive)
self.volume.DriveLetter = self.drive
changed = True
changed = True

if not self.volume.Automount:
self.log.info("mount volume %s", self.device)
ret, = self.volume.Mount()
changed = True
changed = True

if changed:
self.can_rollback = True
Expand Down

0 comments on commit d818f42

Please sign in to comment.