I've been reading the cred docs, and think I may have spotted a typo.  Near the 
end of <http://twistedmatrix.com/documents/current/core/howto/cred.html>, in 
the code sample describing creating a cred plugin's factory, there is this 
method:

    # This will be called once per command-line.
    def generateChecker(self, argstring=""):
        argdict = dict((x.split('=') for x in argstring.split(':')))
        return SpecialChecker(**dict)

I think that return should actually be for **argdict, yes?





_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to