Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70609 - website/public_html/beta/build
From: dnljms_at_[hidden]
Date: 2011-03-27 05:47:58


Author: danieljames
Date: 2011-03-27 05:47:57 EDT (Sun, 27 Mar 2011)
New Revision: 70609
URL: http://svn.boost.org/trac/boost/changeset/70609

Log:
Website: Remove default command in build script.
Text files modified:
   website/public_html/beta/build/build.py | 9 ++-------
   1 files changed, 2 insertions(+), 7 deletions(-)

Modified: website/public_html/beta/build/build.py
==============================================================================
--- website/public_html/beta/build/build.py (original)
+++ website/public_html/beta/build/build.py 2011-03-27 05:47:57 EDT (Sun, 27 Mar 2011)
@@ -6,8 +6,6 @@
 
 """Usage: python build.py [command]
 
-If command is omitted then 'update' is used.
-
 Commands:
 
 update Update the html pages and rss feeds for new or updated
@@ -75,14 +73,11 @@
 def main(argv):
     os.chdir(os.path.join(os.path.dirname(sys.argv[0]), "../"))
 
- if len(argv) > 1:
+ if len(argv) != 1:
         print __doc__
         return
 
- if len(argv) == 1 and argv[0]:
- command = argv[0]
- else:
- command = 'update'
+ command = argv[0]
 
     if command == 'docs':
         return update_php_docs()


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk