Remove colloquialisms in 2 places

MichaƂ Pasternak <[email protected]> Fri, 12 Oct 2007 23:04:45 +0200
Newsgroups gmane.comp.python.quotient.dev
Organization Good People With Bad Reputation
Message-ID <1192223085.19530.2.camel@dotz-laptop>
Hi,

attached are patches for Axiom and Epsilon.

Kind regards,
-- 
m
epsilon-fuck.patch (text/x-patch, 1.4 KB)
Index: epsilon/test/test_juice.py
===================================================================
--- epsilon/test/test_juice.py	(wersja 13832)
+++ epsilon/test/test_juice.py	(kopia robocza)
@@ -88,8 +88,8 @@
     def sendGoodbye(self):
         return Goodbye().do(self)
     def command_HELLO(self, hello):
-        if hello.startswith('fuck'):
-            raise UnfriendlyGreeting("Don't be a dick.")
+        if hello.startswith('I will not buy this record'):
+            raise UnfriendlyGreeting("No, no, no. This is tobacconist's.")
         return dict(hello=hello)
     def command_GETLIST(self, length):
         return {'body': [dict(x=1)] * length}
@@ -225,11 +225,11 @@
         L=[]
         c, s, p = connectedServerAndClient(ServerClass=lambda: SimpleSymmetricCommandProtocol(True),
                                            ClientClass=lambda: SimpleSymmetricCommandProtocol(False))
-        HELLO = 'fuck you'
+        HELLO = 'I will not buy this record, it is scratched.'
         c.sendHello(HELLO).addErrback(L.append)
         p.flush()
         L[0].trap(UnfriendlyGreeting)
-        self.assertEquals(str(L[0].value), "Don't be a dick.")
+        self.assertEquals(str(L[0].value), "No, no, no. This is tobacconist's.")
 
     def testJuiceListCommand(self):
         c, s, p = connectedServerAndClient(ServerClass=lambda: SimpleSymmetricCommandProtocol(True),
axiom-omfg.patch (text/x-patch, 440 B)
Index: axiom/batch.py
===================================================================
--- axiom/batch.py	(wersja 13832)
+++ axiom/batch.py	(kopia robocza)
@@ -813,7 +813,7 @@
         self.transport.loseConnection()
 
     def getPeer(self):
-        return ('omfg what are you talking about',)
+        return ('what are you talking about',)
 
     def getHost(self):
         return ('seriously it is a process this makes no sense',)