commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6431 - trunk/gnue-common


From: jcater
Subject: r6431 - trunk/gnue-common
Date: Thu, 30 Sep 2004 11:29:58 -0500 (CDT)

Author: jcater
Date: 2004-09-30 11:29:57 -0500 (Thu, 30 Sep 2004)
New Revision: 6431

Modified:
   trunk/gnue-common/setup-cvs.py
Log:
remove unneeded feedback if run in --auto mode

Modified: trunk/gnue-common/setup-cvs.py
===================================================================
--- trunk/gnue-common/setup-cvs.py      2004-09-30 16:19:17 UTC (rev 6430)
+++ trunk/gnue-common/setup-cvs.py      2004-09-30 16:29:57 UTC (rev 6431)
@@ -150,7 +150,7 @@
 
       # Do not include python2.2-popy-config
       elif len(version)>8:
-       pass
+        pass
 
       elif os.path.samefile(file, sys.executable):
         # If this file is the one being executed, just replace w/full name
@@ -521,12 +521,14 @@
     willCreateFilt = 1
 
 if not willCreateConf and not os.path.isfile("%s/etc/gnue.conf"%CONFDIR):
-  print ""
-  print "You do not currently have a gnue.conf tools configuration file."
+  if not auto:
+    print ""
+    print "You do not currently have a gnue.conf tools configuration file."
   if getYesNo("Do you want to create a gnue.conf based on the supplied 
examples? (Yes,No,All,neVer)",'Y','autoconf'):
-    print "Since the gnue.conf file format may change from time to time in 
CVS,"
-    print "we can create a symlinked gnue.conf file that always mirrors CVS. 
This"
-    print "will not allow you to customize gnue.conf, however."
+    if not auto:
+      print "Since the gnue.conf file format may change from time to time in 
CVS,"
+      print "we can create a symlinked gnue.conf file that always mirrors CVS. 
This"
+      print "will not allow you to customize gnue.conf, however."
     if getYesNo ("Do you want to use a symlinked gnue.conf file?",'N',):
       command = "ln -s %(CVSDIR)s/gnue-common/etc/sample.gnue.conf 
%(CONFDIR)s/etc/gnue.conf" % globals()
     else:
@@ -536,23 +538,27 @@
 
 
 if not willCreateConn and not 
os.path.isfile("%s/etc/connections.conf"%CONFDIR):
-  print ""
-  print "You do not currently have a connections.conf configuration file."
+  if not auto:
+    print ""
+    print "You do not currently have a connections.conf configuration file."
   if getYesNo("Do you want to create a connections.conf based on the supplied 
examples? (Yes,No,All,neVer)",'Y','autoconf'):
     rootCommands.append("cp %(CVSDIR)s/gnue-common/etc/sample.connections.conf 
%(CONFDIR)s/etc/connections.conf" % globals())
 
-  print
-  print "NOTE: Your connections.conf file will need to"
-  print "      be edited to reflect your local setup."
-  print
+if not auto:
+    print
+    print "NOTE: Your connections.conf file will need to"
+    print "      be edited to reflect your local setup."
+    print
 
 if not willCreateConf and not 
os.path.isfile("%s/etc/report-filters.conf"%CONFDIR):
-  print ""
-  print "You do not currently have a report-filters.conf configuration file."
+  if not auto:
+    print ""
+    print "You do not currently have a report-filters.conf configuration file."
   if getYesNo("Do you want to create a report-filters.conf based on the 
supplied examples? (Yes,No,All,neVer)",'Y','autoconf'):
-    print "Since the report-filters.conf file format may change from time to 
time in CVS,"
-    print "we can create a symlinked report-filters.conf file that always 
mirrors CVS. This"
-    print "will not allow you to customize report-filters.conf, however."
+    if not auto:
+      print "Since the report-filters.conf file format may change from time to 
time in CVS,"
+      print "we can create a symlinked report-filters.conf file that always 
mirrors CVS. This"
+      print "will not allow you to customize report-filters.conf, however."
     if getYesNo ("Do you want to use a symlinked report-filters.conf file? 
(Yes,No,All,neVer)",'N', 'symconf'):
       command = "ln -s %(CVSDIR)s/gnue-reports/etc/sample.report-filters.conf 
%(CONFDIR)s/etc/report-filters.conf" % globals()
     else:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]