mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
9f623a820d
cherrytree - A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file. This commit also adds PyGtkSourceView - a Python wrapper for the GtkSourceView widget library. Official page http://www.giuspen.com/cherrytree
16 lines
563 B
Diff
16 lines
563 B
Diff
diff -Naur cherrytree-0.35.6-orig/setup.py cherrytree-0.35.6/setup.py
|
|
--- cherrytree-0.35.6-orig/setup.py 2014-05-30 23:25:11.000000000 +0200
|
|
+++ cherrytree-0.35.6/setup.py 2015-01-29 07:35:32.785904009 +0100
|
|
@@ -205,4 +205,9 @@
|
|
},
|
|
distclass=CherryTreeDist
|
|
)
|
|
- subprocess.call("update-desktop-database")
|
|
+ try:
|
|
+ subprocess.check_call(['update-desktop-database'])
|
|
+ except subprocess.CalledProcessError:
|
|
+ pass # handle errors in the called executable
|
|
+ except OSError:
|
|
+ pass # executable not found
|
|
|