#2458: correct date in in "Simfactory Done" message
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | minor |
| Component: |
At the end of (every) *.out file simfactory currently outputs:
Mon Jan 20 09:34:59 CST 2020 Simfactory Done at date: 0
where the first is the date as produced by the date command and the 0 in the second line is date's exit code. This is due to this Python code
display("Simfactory Done at date: %s" % simenv.system("date")) # This is wrong because system doesn't return the command output
(comment present in source code).
Pull request https://bitbucket.org/simfactory/simfactory2/pull-requests/44/fix-incorrect-use-of-system-date fixes this.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2458/correct-date-in-in-simfactory-done-message