Project

General

Profile

Actions

Bug #6460

closed

Architecture #6410: Make ncf api compatible with python 3

Typo in ncf.py, cannot be used

Added by Vincent MEMBRÉ about 9 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
1
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

A typo was inserted in tool/ncf.py preventing it usage

line 140:

      if sys.version_info.major == 2:
        unicodeLine = unicode(line,"UTF-8") #line.decode('unicode-escape')
      else
        unicodeLine = line # = str(line, "UTF-8")

The else is missing a colon


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6440: We can't use é in the generic methods parametersReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF