[Pkg-javascript-devel] Bug#1081361: npm2deb: SyntaxWarning: invalid escape sequence '\/'
    Julian Gilbey 
    jdg at debian.org
       
    Wed Sep 11 06:07:57 BST 2024
    
    
  
Package: npm2deb
Version: 0.3.0-12
Severity: normal
Running npm2deb create gave a bunch of Python SyntaxWarnings:
/usr/lib/python3/dist-packages/npm2deb/templates.py:328: SyntaxWarning: invalid escape sequence '\/'
  WATCH['github'] = """version=4
/usr/lib/python3/dist-packages/npm2deb/templates.py:335: SyntaxWarning: invalid escape sequence '\d'
  WATCH['gitlab'] = """version=4
/usr/lib/python3/dist-packages/npm2deb/templates.py:341: SyntaxWarning: invalid escape sequence '\d'
  WATCH['npmregistry'] = """version=4
These strings have not been made raw; either double the backslashes
that haven't been (lines 331, 333, 338, 347) or make the strings raw
and un-double the already-doubled backslashes (lines 329, 331, 336,
337, 345, 346).
There are no other similar problems in other files in
/usr/lib/python3/dist-packages/npm2deb/
Best wishes,
   Julian
    
    
More information about the Pkg-javascript-devel
mailing list