debian/python3-cubicweb-documentation.doc-base
author Laurent Peuch <cortex@worlddomination.be>
Mon, 22 Jul 2019 11:21:10 +0200
changeset 12696 eb83daa69495
parent 12651 33b489b45937
permissions -rw-r--r--
[cubicweb-ctl] respect sys.exit status code when aborting a command When exploring the stack of all calls to a cubicweb-ctl command, it has been discovered than on a KeyboardInterrupt and on a SystemExit exception the base class InstanceCommand (for commands that works on one instance) will always set the return code of cubicweb-ctl to 8: this mean that if another command do a `sys.exit(some_code)` the exit code will be ignored and overwritten by '8'. This behavior is not intuitive, apparently not documented and doesn't seems to have any justification. It also prevent commands from exciting with different return codes which could be a desired behavior in the situation of scripting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12641
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     1
Document: cubicweb-doc
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     2
Title: CubicWeb Documentation
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     3
Author: Logilab
12651
33b489b45937 [pkg] Fix spelling mistake in doc-base abstract
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12650
diff changeset
     4
Abstract: Some base documentation for CubicWeb users and developers
12650
461a6db4b098 [pkg] Fix doc-base section
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents: 12641
diff changeset
     5
Section: Programming
12641
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     6
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     7
Format: HTML
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     8
Index: /usr/share/doc/python3-cubicweb-documentation/html/index.html
002ae96afeab [pkg] Switch all Debian packages to Python 3
Jérémy Bobbio <jeremy.bobbio@irq7.fr>
parents:
diff changeset
     9
Files: /usr/share/doc/python3-cubicweb-documentation/html/*