summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-11 22:22:39 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-11 22:22:39 (GMT)
commit08636f08edd37ff61639d23c031174aa65fabd50 (patch)
tree8f8a613e2c22b7e626dd71a8e3babc23896790dd /Lib
parenta3eebe60dc7ad854020ae839270f35b137c2893d (diff)
downloadcpython-08636f08edd37ff61639d23c031174aa65fabd50.zip
cpython-08636f08edd37ff61639d23c031174aa65fabd50.tar.gz
cpython-08636f08edd37ff61639d23c031174aa65fabd50.tar.bz2
Now that test_MimeWriter is untabified, do the same here!
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/output/test_MimeWriter30
1 files changed, 15 insertions, 15 deletions
diff --git a/Lib/test/output/test_MimeWriter b/Lib/test/output/test_MimeWriter
index 1f5c417..9b97d93 100644
--- a/Lib/test/output/test_MimeWriter
+++ b/Lib/test/output/test_MimeWriter
@@ -41,7 +41,7 @@ INTERFACE Seller-1;
TYPE Seller = OBJECT
DOCUMENTATION "A simple Seller interface to test ILU"
METHODS
- price():INTEGER,
+ price():INTEGER,
END;
--802spam999
@@ -71,22 +71,22 @@ KP-Module-Name: BuyerKP
class Buyer:
def __setup__(self, maxprice):
- self._maxprice = maxprice
+ self._maxprice = maxprice
def __main__(self, kos):
- """Entry point upon arrival at a new KOS."""
- broker = kos.broker()
- # B4 == Barry's Big Bass Business :-)
- seller = broker.lookup('Seller_1.Seller', 'B4')
- if seller:
- price = seller.price()
- print 'Seller wants $', price, '... '
- if price > self._maxprice:
- print 'too much!'
- else:
- print "I'll take it!"
- else:
- print 'no seller found here'
+ """Entry point upon arrival at a new KOS."""
+ broker = kos.broker()
+ # B4 == Barry's Big Bass Business :-)
+ seller = broker.lookup('Seller_1.Seller', 'B4')
+ if seller:
+ price = seller.price()
+ print 'Seller wants $', price, '... '
+ if price > self._maxprice:
+ print 'too much!'
+ else:
+ print "I'll take it!"
+ else:
+ print 'no seller found here'
--803spam999--