summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e25596)
raw | patch | inline | side by side (parent: 9e25596)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 7 Jan 2002 10:41:44 +0000 (10:41 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 7 Jan 2002 10:41:44 +0000 (10:41 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@501 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/admin.py | patch | blob | history |
diff --git a/roundup/admin.py b/roundup/admin.py
index 6eb7b42816db8d09e71902c97103687209372ab5..7b42052d80a2ad374fb8343234bfa230da782c70 100644 (file)
--- a/roundup/admin.py
+++ b/roundup/admin.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: admin.py,v 1.1 2002-01-05 02:11:22 richard Exp $
+# $Id: admin.py,v 1.2 2002-01-07 10:41:44 richard Exp $
import sys, os, getpass, getopt, re, UserDict, shlex
try:
'''Get the class - raise an exception if it doesn't exist.
'''
try:
- cl = self.db.getclass(classname)
+ return self.db.getclass(classname)
except KeyError:
raise UsageError, _('no such class "%(classname)s"')%locals()
#
# $Log: not supported by cvs2svn $
+# Revision 1.1 2002/01/05 02:11:22 richard
+# I18N'ed roundup admin - and split the code off into a module so it can be used
+# elsewhere.
+# Big issue with this is the doc strings - that's the help. We're probably going to
+# have to switch to not use docstrings, which will suck a little :(
+#
#
#
# vim: set filetype=python ts=4 sw=4 et si