comparison frontends/src/jp/base.py @ 970:2e052998c7eb

jp: using C.APP_URL for application url
author Goffi <goffi@goffi.org>
date Wed, 02 Apr 2014 12:11:07 +0200
parents 5b95ce21c2d3
children 8ca5c990ed92
comparison
equal deleted inserted replaced
969:5c7707c958d8 970:2e052998c7eb
38 from importlib import import_module 38 from importlib import import_module
39 from sat.tools.jid import JID 39 from sat.tools.jid import JID
40 from sat_frontends.bridge.DBus import DBusBridgeFrontend 40 from sat_frontends.bridge.DBus import DBusBridgeFrontend
41 from sat.core import exceptions 41 from sat.core import exceptions
42 import sat_frontends.jp 42 import sat_frontends.jp
43 from sat_frontends.jp.constants import Const as C
43 try: 44 try:
44 import progressbar 45 import progressbar
45 except ImportError: 46 except ImportError:
46 info (_('ProgressBar not available, please download it at http://pypi.python.org/pypi/progressbar')) 47 info (_('ProgressBar not available, please download it at http://pypi.python.org/pypi/progressbar'))
47 info (_('Progress bar deactivated\n--\n')) 48 info (_('Progress bar deactivated\n--\n'))
48 progressbar=None 49 progressbar=None
49 50
50 #consts 51 #consts
51 prog_name = u"jp" 52 prog_name = u"jp"
52 description = """This software is a command line tool for XMPP. 53 description = """This software is a command line tool for XMPP.
53 Get the latest version at http://sat.goffi.org""" 54 Get the latest version at """ + C.APP_URL
54 55
55 copyleft = u"""Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jérôme Poisson (aka Goffi) 56 copyleft = u"""Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jérôme Poisson (aka Goffi)
56 This program comes with ABSOLUTELY NO WARRANTY; 57 This program comes with ABSOLUTELY NO WARRANTY;
57 This is free software, and you are welcome to redistribute it under certain conditions. 58 This is free software, and you are welcome to redistribute it under certain conditions.
58 """ 59 """