Changeset 1803 for pykota/trunk
- Timestamp:
- 10/12/04 00:53:06 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 12 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/autopykota
r1801 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.6 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.5 2004/10/11 22:08:06 jalet 27 30 # Incorrect doc for autopykota … … 47 50 import os 48 51 49 from pykota import version50 52 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 51 53 … … 85 87 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 86 88 87 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)89 Please e-mail bugs to: %s""") 88 90 89 91 class AutoPyKota(PyKotaTool) : -
pykota/trunk/bin/dumpykota
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.14 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.13 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 157 160 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 158 161 159 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)162 Please e-mail bugs to: %s""") 160 163 161 164 class DumPyKota(PyKotaTool) : … … 233 236 """Dumps datas as XML.""" 234 237 x = jaxml.XML_document(encoding="UTF-8") 235 x.pykota(version=version.__version__ )238 x.pykota(version=version.__version__, author=version.__author__) 236 239 x.dump(storage=self.config.getStorageBackend()["storagebackend"], type=datatype) 237 240 headers = entries[0] -
pykota/trunk/bin/edpykota
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.80 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.79 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 282 285 import sys 283 286 284 from pykota import version285 287 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 286 288 from pykota.config import PyKotaConfigError … … 459 461 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 460 462 461 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)463 Please e-mail bugs to: %s""") 462 464 463 465 class EdPyKota(PyKotaTool) : -
pykota/trunk/bin/pkhint
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.19 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.18 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 90 93 import os 91 94 92 from pykota import version93 95 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 94 96 from pykota.config import PyKotaConfigError … … 138 140 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 139 141 140 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)142 Please e-mail bugs to: %s""") 141 143 142 144 SNMPTESTS = [ \ -
pykota/trunk/bin/pkprinters
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.16 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.15 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 77 80 import sys 78 81 79 from pykota import version80 82 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 81 83 … … 172 174 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 173 175 174 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)176 Please e-mail bugs to: %s""") 175 177 176 178 class PKPrinters(PyKotaTool) : -
pykota/trunk/bin/pykosd
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.10 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.9 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 66 69 sys.exit(-1) 67 70 68 from pykota import version69 71 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 70 72 … … 120 122 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 121 123 122 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)124 Please e-mail bugs to: %s""") 123 125 124 126 -
pykota/trunk/bin/pykotme
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.16 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.15 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 84 87 import pwd 85 88 86 from pykota import version87 89 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 88 90 from pykota.config import PyKotaConfigError … … 145 147 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 146 148 147 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)149 Please e-mail bugs to: %s""") 148 150 149 151 -
pykota/trunk/bin/repykota
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.52 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.51 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 198 201 from mx import DateTime 199 202 200 from pykota import version201 203 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 202 204 from pykota.config import PyKotaConfigError … … 264 266 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 265 267 266 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)268 Please e-mail bugs to: %s""") 267 269 268 270 class RePyKota(PyKotaTool) : -
pykota/trunk/bin/warnpykota
r1796 r1803 24 24 # 25 25 # $Log$ 26 # Revision 1.32 2004/10/11 22:53:05 jalet 27 # Postponed string interpolation to help message's output method 28 # 26 29 # Revision 1.31 2004/10/11 12:49:06 jalet 27 30 # Renders help translatable … … 130 133 import pwd 131 134 132 from pykota import version133 135 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 134 136 from pykota.config import PyKotaConfigError … … 196 198 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 197 199 198 Please e-mail bugs to: %s""") % (version.__version__, version.__author__)200 Please e-mail bugs to: %s""") 199 201 200 202 class WarnPyKota(PyKotaTool) : -
pykota/trunk/po/fr/pykota.po
r1802 r1803 91 91 "options :\n" 92 92 "\n" 93 " -v | --version Prints autopykota's version number then exits.\n" 94 " -h | --help Prints this message then exits.\n" 95 " \n" 96 " -i | --initbalance b Sets the user's account initial balance value to b.\n" 97 " If the user already exists, actual balance is left\n" 98 " unmodified. If unset, the default value is 0.\n" 93 " -v | --version Affiche la version d'autopykota et quitte.\n" 94 " -h | --help Affiche ce message et quitte.\n" 95 " \n" 96 " -i | --initbalance b Positionne le solde initial de l'utilisateur �.\n" 97 " Si l'utilisateur existe d�, le solde actuel reste\n" 98 " inchang�Si non indiqu�la valeur par d�ut est " 99 "0.\n" 99 100 " \n" 100 101 "This program is free software; you can redistribute it and/or modify\n" … … 103 104 "(at your option) any later version.\n" 104 105 "\n" 105 "This program is distributed in the hope that it will be useful,\n"106 106 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" 107 107 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" … … 112 112 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n" 113 113 "\n" 114 " Please e-mail bugs to:%s"114 "Merci d'envoyer les rapports de bugs �%s" 115 115 116 116 #, python-format -
pykota/trunk/pykota/tool.py
r1795 r1803 22 22 # 23 23 # $Log$ 24 # Revision 1.128 2004/10/11 22:53:06 jalet 25 # Postponed string interpolation to help message's output method 26 # 24 27 # Revision 1.127 2004/10/11 12:48:38 jalet 25 28 # Adds fake translation marker … … 582 585 """Displays command line usage, then exists successfully.""" 583 586 self.clean() 584 print _(self.documentation) 587 print _(self.documentation) % (version.__version__, version.__author__) 585 588 sys.exit(0) 586 589