]> granicus.if.org Git - python/commitdiff
Now that test_MimeWriter is untabified, do the same here!
authorGuido van Rossum <guido@python.org>
Thu, 11 Jun 1998 22:22:39 +0000 (22:22 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 11 Jun 1998 22:22:39 +0000 (22:22 +0000)
Lib/test/output/test_MimeWriter

index 1f5c4171a504b15812d8f608fb0bde94acb5d00d..9b97d93ee24c6de4b654d4f5c153fbfa01baa359 100644 (file)
@@ -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--