After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673877 - fixes and enhancements to example script account_analysis.py
fixes and enhancements to example script account_analysis.py
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Python Bindings
git-master
Other All
: Normal enhancement
: ---
Assigned To: Mark Jenkins
Mark Jenkins
Depends on:
Blocks:
 
 
Reported: 2012-04-10 22:06 UTC by jamie campbell
Modified: 2018-06-29 23:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch implementing the points in the description (10.93 KB, patch)
2012-04-10 22:06 UTC, jamie campbell
committed Details | Review

Description jamie campbell 2012-04-10 22:06:58 UTC
Created attachment 211797 [details] [review]
patch implementing the points in the description

a) added usage information when not enough arguments added
b) put the majority of code into an exception handling block so that if something goes wrong the session is closed.  Prior to this change a problem would result in a lingering lock.
Comment 1 Geert Janssens 2012-04-28 13:41:00 UTC
Comment on attachment 211797 [details] [review]
patch implementing the points in the description

Committed in r22165. Thanks a lot !

P.S. your patch is very nice. However, it would simplify my committing work if you could run svn diff from the base of your working directory instead of from example_scripts. But thanks again for the patch as is already.
Comment 2 John Ralls 2018-06-29 23:08:08 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=673877. Please update any external references or bookmarks.