[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r6972 - trunk/gnue-common/src/apps
From: |
kilo |
Subject: |
[gnue] r6972 - trunk/gnue-common/src/apps |
Date: |
Mon, 7 Feb 2005 06:28:25 -0600 (CST) |
Author: kilo
Date: 2005-02-07 06:28:23 -0600 (Mon, 07 Feb 2005)
New Revision: 6972
Modified:
trunk/gnue-common/src/apps/GConfig.py
Log:
Removed debug print
Modified: trunk/gnue-common/src/apps/GConfig.py
===================================================================
--- trunk/gnue-common/src/apps/GConfig.py 2005-02-07 10:17:46 UTC (rev
6971)
+++ trunk/gnue-common/src/apps/GConfig.py 2005-02-07 12:28:23 UTC (rev
6972)
@@ -1,3 +1,4 @@
+# Copyright 2000-2005 Free Software Foundation
#
# This file is part of GNU Enterprise.
#
@@ -16,11 +17,8 @@
# write to the Free Software Foundation, Inc., 59 Temple Place
# - Suite 330, Boston, MA 02111-1307, USA.
#
-# Copyright 2000-2005 Free Software Foundation
+# $Id$
#
-# FILE:
-# GConfig.py
-#
# DESCRIPTION:
# Class that loads the configuration files so gnue apps can get
# default settings.
@@ -237,14 +235,14 @@
if options:
for option in options:
output += '='*outputWidth+"\n"
- nameString="Name:%s"%option['Name']
- defaultString="Default Value:%s" % option['Default']
- print 1
- output += "%s%s%s\n" %(nameString,'
'*(outputWidth-len(nameString+defaultString)),defaultString)
- output += "%s\n" % lineWrap(option['Description'],outputWidth)
+ nameString = "Name:%s" % option['Name']
+ defaultString = "Default Value:%s" % option['Default']
+ output += "%s%s%s\n" %(nameString, ' ' * (outputWidth - len(nameString +
defaultString)), defaultString)
+ output += "%s\n" % lineWrap(option['Description'], outputWidth)
else:
output += "No options defined"
return output
+
############################
#
# Site configuration stuff
Property changes on: trunk/gnue-common/src/apps/GConfig.py
___________________________________________________________________
Name: svn:keywords
+ Id
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r6972 - trunk/gnue-common/src/apps,
kilo <=