remove invisible unicode-chars

This commit is contained in:
Jakobus Schürz 2023-03-12 10:33:17 +01:00
parent d73ec91cf2
commit 17d6f371e3

View file

@ -231,9 +231,9 @@ class BtrfsListing:
output = self.args.config.remotecommand(tag=self.args.tag, store=self.store, cmd=cmd)
try:
for line in output.splitlines():
# btrfs-subvolume list 4.13 output field separator is not anymore only one space. uuid-fields are filled up with whitespaces, so split(' ') does not work anymore!!!
# btrfs-subvolume list 4.13 output field separator is not anymore only one space. uuid-fields are filled up with whitespaces, so split(' ') does not work anymore!!!
#argmts = line.split(' ')
argmts = line.split()
argmts = line.split(' ')
#ID 2412 gen 8547 cgen 8547 top level 2393 parent_uuid 7991115b-8a6b-6d4d-b664-03db01e902d0 received_uuid - uuid 368490e7-5aca-0d4d-9b7a-becff0487ebd path aldebaran/__ALWAYSCURRENT__.2016-10-15_22:40:25.hourly.part/var-spool-dovecot
self.svols[argmts[1]] = dict()
self.svols[argmts[1]]['id'] = argmts[1]