Branch: refs/heads/master Home: https://github.com/uzh/gc3pie Commit: 6f4fb84999f14b5c7f36ed895f3361eb0752d88d https://github.com/uzh/gc3pie/commit/6f4fb84999f14b5c7f36ed895f3361eb0752d88d Author: Riccardo Murri <riccardo.mu...@gmail.com> Date: 2018-04-09 (Mon, 09 Apr 2018)
Changed paths: M gc3libs/cmdline.py M gc3libs/session.py M gc3libs/tests/test_session.py Log Message: ----------- Make `Session.load()` also add a task to the session by default. The behavior is overridable with the new `add=...` argument. In addition, make `Session.forget()` be silently successfull when passed the ID of a task that is *not* in the session. When modifying existing code to use the new API and distinguish cases when we want a task added or not, this seems necessary to have some removal cases handled successfully. -- You received this message because you are subscribed to the Google Groups "gc3pie-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to gc3pie-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gc3pie-dev/5acb84f24bec7_3e142b0979255c08172bd%40hookshot-fe-5a11256.cp1-iad.github.net.mail. For more options, visit https://groups.google.com/d/optout.