~justin-fathomdb/nova/justinsb-openstack-api-volumes

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/doc/web/howto/listings/xmlquote.rpy

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from twisted.web import xmlrpc
 
2
import os
 
3
 
 
4
def getQuote():
 
5
    return "What are you talking about, William?"
 
6
 
 
7
class Quoter(xmlrpc.XMLRPC):
 
8
    
 
9
    def xmlrpc_quote(self):
 
10
        return getQuote()
 
11
    
 
12
resource = Quoter()