[4suite-checkins] [XML1_0-maint] In 4Suite/Ft/Server/Client/Commands/Create, files User.py

Jeremy Kloth jkloth at 4suite.org
Mon Oct 16 15:52:37 MDT 2006


Branch: XML1_0-maint

Modified Files:
    User.py

Log Message:
Fixed up command-line application handling and creation (somewhat).

ViewCVS diff:
  http://cvs.4suite.org/viewcvs/4Suite/Ft/Server/Client/Commands/Create/User.py.diff?r1=1.12&r2=1.12.6.1
ViewCVS view:
  http://cvs.4suite.org/viewcvs/4Suite/Ft/Server/Client/Commands/Create/User.py?rev=1.12.6.1&content-type=text/vnd.viewcvs-markup

Index: User.py
===================================================================
RCS file: /var/local/cvsroot/4Suite/Ft/Server/Client/Commands/Create/User.py,v
retrieving revision 1.12
retrieving revision 1.12.6.1
diff -U2 -r1.12 -r1.12.6.1
--- User.py	26 Sep 2004 22:21:19 -0000	1.12
+++ User.py	16 Oct 2006 21:52:37 -0000	1.12.6.1
@@ -25,4 +25,8 @@
 
 def Run(options,args):
+    CommandUtil.WritePreamble("Note: After entering the new user's password,"
+                              " you might be prompted for a user name. This is"
+                              " the user name of an existing user in 4SS with"
+                              " permissions to create a new user.")
 
     username = args['userName']
@@ -92,5 +96,4 @@
                                                     ]),
                           fileName = __file__,
-                          heading = """\nNote: After entering the new user's password, you might be prompted for a user name. This is the user name of an existing user in 4SS with permissions to create a new user.\n""",
                           )
     return cmd


More information about the 4suite-checkins mailing list