[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh-python does not stop if there is error during the byte-compiling



Hello, in one of my package (pymca), there is a syntax error like this.

byte-compiling /builds/science-team/pymca/debian/output/pymca-5.5.2+dfsg/debian/python-pymca5/usr/lib/python2.7/dist-packages/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py to ChimeraStack.pyc
  File "/usr/lib/python2.7/dist-packages/PyMca5/Object3D/Object3DPlugins/ChimeraStack.py", line 72
    with h5py.File(filename, mode='r') as f
                                          ^
SyntaxError: invalid syntax

byte-compiling /builds/science-team/pymca

(missing ':' at the end of the line) but this does not stop the build process.

Is it normal ?

Cheers

Frederic

Reply to: