Revision: 48443
Author:   kim
Date:     2009-03-16 17:04:24 +0000 (Mon, 16 Mar 2009)

Log Message:
-----------
strip out some old code that was unused (default revision)

Modified Paths:
--------------
    trunk/wikiation/installer/installer.py
    trunk/wikiation/installer/util/installcheck.sh

Modified: trunk/wikiation/installer/installer.py
===================================================================
--- trunk/wikiation/installer/installer.py      2009-03-16 16:18:51 UTC (rev 
48442)
+++ trunk/wikiation/installer/installer.py      2009-03-16 17:04:24 UTC (rev 
48443)
@@ -145,12 +145,6 @@
        os.execl("/usr/bin/python","/usr/bin/python",__file__)
 
 
-def default_revision(args):
-       if len(args)>1:
-               defualt_revision=args[1]
-       
-       print "current revision:",default_revision
-
 def main():
        """main function. start of execution when run from shell"""
 
@@ -180,8 +174,6 @@
                pass
 
 
-# unused global...
-default_revision=None
 
 #constants
 
@@ -195,7 +187,6 @@
        "info":info,
        "check_isolation":check_isolation,
        "update_self":update_self,
-       "revision":default_revision
 }
 
 # additional help texts for some commands.

Modified: trunk/wikiation/installer/util/installcheck.sh
===================================================================
--- trunk/wikiation/installer/util/installcheck.sh      2009-03-16 16:18:51 UTC 
(rev 48442)
+++ trunk/wikiation/installer/util/installcheck.sh      2009-03-16 17:04:24 UTC 
(rev 48443)
@@ -97,5 +97,5 @@
 checkexist wget || exit 1
 
 touch /var/www/revisions/installertest
-wget 'http://localhost/revisions/installertest' 2>&1 | grep "200 OK" 
>/dev/null && echo "apache configured ok" || echo "apache not correctly 
configured"
+wget 'http://localhost/revisions/installertest' 2>&1 | grep "200 OK" 
>/dev/null && echo "apache configured well enough." || echo "apache not 
correctly configured"
 rm /var/www/revisions/installertest



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to