|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: admin.py,v 1.9 2002-03-12 22:51:47 richard Exp $ |
| 19 | +# $Id: admin.py,v 1.10 2002-04-27 10:07:23 richard Exp $ |
20 | 20 |
|
21 | 21 | import sys, os, getpass, getopt, re, UserDict, shlex |
22 | 22 | try: |
@@ -267,7 +267,7 @@ def do_initialise(self, instance_home, args): |
267 | 267 | parent = os.path.split(instance_home)[0] |
268 | 268 | if not os.path.exists(parent): |
269 | 269 | raise UsageError, _('Instance home parent directory "%(parent)s"' |
270 | | - 'does not exist')%locals() |
| 270 | + ' does not exist')%locals() |
271 | 271 |
|
272 | 272 | # select template |
273 | 273 | import roundup.templates |
@@ -1061,6 +1061,11 @@ def main(self): |
1061 | 1061 |
|
1062 | 1062 | # |
1063 | 1063 | # $Log: not supported by cvs2svn $ |
| 1064 | +# Revision 1.9 2002/03/12 22:51:47 richard |
| 1065 | +# . #527416 ] roundup-admin uses undefined value |
| 1066 | +# . #527503 ] unfriendly init blowup when parent dir |
| 1067 | +# (also handles UsageError correctly now in init) |
| 1068 | +# |
1064 | 1069 | # Revision 1.8 2002/02/27 03:28:21 richard |
1065 | 1070 | # Ran it through pychecker, made fixes |
1066 | 1071 | # |
|
0 commit comments