From f8a9a43865aab7174686dba874aeea9518d02cb2 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Mon, 20 Oct 2014 10:00:16 -0400 Subject: [PATCH] Set bzrlib as optional dependency. Code should work without bzrlib and skip logging the revnos if lib is absent. Git dependency kept since oca/server-tools itself is git and we would like to know sha of sentry_logger --- sentry_logger/__openerp__.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sentry_logger/__openerp__.py b/sentry_logger/__openerp__.py index 12b48403d..b4d33ba0b 100644 --- a/sentry_logger/__openerp__.py +++ b/sentry_logger/__openerp__.py @@ -33,6 +33,12 @@ Integration with Sentry Error reporting engine. Insert sentry DSN to ~/.openerp_serverrc with value: sentry_dsn = sync+ + +Optional Dependencies +--------------------- + +* bzrlib (for revno reporting on module repositories from LP) + Contributors ------------ * Sandy Carter (sandy.carter@savoirfairelinux.com) @@ -49,7 +55,11 @@ Contributors # any module necessary for this one to work correctly 'depends': ['web'], 'external_dependencies': { - 'python': ['raven', 'raven_sanitize_openerp', 'bzrlib', 'git'], + 'python': [ + 'raven', + 'raven_sanitize_openerp', + 'git', + ], }, 'data': [ ],