~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/fortune

  • Committer: Vincent Ladeuil
  • Date: 2007-12-11 14:26:18 UTC
  • mto: (3111.1.1 175524)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20071211142618-pt6ca80047kok237
Rename bzrlib/test/HTTPTestUtils.py to bzrlib/tests/http_utils.py and fix
uses.  Rename bzrlib/test/HttpServer.py to bzrlib/tests/http_server.py
and fix uses.  Don't pretend we support HTTP/0.9 since we don't and do
that correctly.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractHTTPConnection): Specifying strict here is useless.
(HTTPConnection, HTTPSConnection): We don't support HTTP/0.9 in
other parts of the stack, be explicit *correctly*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# Put this on your $BZRPATH to use it to demonstrate bzr external plugins
 
4
 
 
5
 
 
6
if [ x$1 == x--bzr-usage ]
 
7
then
 
8
    # options
 
9
    echo ""
 
10
    # arguments
 
11
    echo ""
 
12
    exit 0
 
13
elif [ x$1 == x--bzr-help ]
 
14
then
 
15
    echo "display a fortune cookie"
 
16
    echo 
 
17
    exit 0
 
18
else
 
19
    /usr/games/fortune
 
20
fi