mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
python3: remove str.encode(ascii, ignore) call from python3 tree
because of this line the string was converted to bytes and would cause side effects. Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@ -1684,7 +1684,6 @@ class ifupdownMain:
|
||||
if not ec:
|
||||
continue
|
||||
else:
|
||||
ec = ec.encode('ascii','ignore')
|
||||
for ee in ec.split():
|
||||
if ee in new_excludepats:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user