File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -301,17 +301,17 @@ def _generate_cifs_table():
301
301
cifs_paths = []
302
302
303
303
try :
304
- for path_and_fstype in mount_info :
305
- # need to check for tables that have only path and no fstype
306
- if len (path_and_fstype ) == 2 :
307
- # if this entry is cifs, add it to list
308
- if path_and_fstype [1 ] == 'cifs' :
309
- cifs_paths .append (path_and_fstype [0 ])
310
- else :
311
- fmlogger .debug ('mount file system types not described by fstype' )
304
+ for path_and_fstype in mount_info :
305
+ # need to check for tables that have only path and no fstype
306
+ if len (path_and_fstype ) == 2 :
307
+ # if this entry is cifs, add it to list
308
+ if path_and_fstype [1 ] == 'cifs' :
309
+ cifs_paths .append (path_and_fstype [0 ])
310
+ else :
311
+ fmlogger .debug ('mount file system types not described by fstype' )
312
312
except :
313
- fmlogger .debug ('mount file system type check for CIFS error' )
314
- return []
313
+ fmlogger .debug ('mount file system type check for CIFS error' )
314
+ return []
315
315
return [
316
316
mount for mount in mount_info
317
317
if any (mount [0 ].startswith (path ) for path in cifs_paths )
You can’t perform that action at this time.
0 commit comments