Update uses of string exceptions

This commit is contained in:
Andrew M. Kuchling 2008-09-13 01:57:25 +00:00
parent 0bef15846f
commit d9a9c1066c
4 changed files with 7 additions and 9 deletions

View file

@ -80,9 +80,9 @@ class Packer(xdr.Packer):
# Exceptions
BadRPCFormat = 'rpc.BadRPCFormat'
BadRPCVersion = 'rpc.BadRPCVersion'
GarbageArgs = 'rpc.GarbageArgs'
class BadRPCFormat(Exception): pass
class BadRPCVersion(Exception): pass
class GarbageArgs(Exception): pass
class Unpacker(xdr.Unpacker):