From c3086e87003d91d37d0309c0ccd86c7a71548e52 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 3 May 2011 14:38:54 +0000 Subject: [PATCH] Add osmgpsmap to command line version information svn: r17390 --- src/gramps.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/gramps.py b/src/gramps.py index 4ee74b9b0..90601fef3 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -191,6 +191,16 @@ def show_settings(): except ImportError: cairover_str = 'not found' + try: + import osmgpsmap + try: + osmgpsmap_str = osmgpsmap.__version__ + except :# any failure to 'get' the version + osmgpsmap_str = 'unknown version' + + except ImportError: + osmgpsmap_str = 'not found' + try: import pyexiv2 try: @@ -266,6 +276,7 @@ def show_settings(): print ' bsddb : %s' % bsddb_str print ' bsddb.db : %s' % bsddb_db_str print ' cairo : %s' % cairover_str + print ' osmgpsmap : %s' % osmgpsmap_str print ' pyexiv2 : %s' % pyexiv2_str print ' o.s. : %s' % operating_system if kernel: