commit | d9a9c1066c64900a902f5a70b132880e29749ecc | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:57:25 2008 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:57:25 2008 +0000 |
tree | 3a019489694ff69f0a94003e0eea5952020aeb6c | |
parent | 0bef15846fb3a3a0c2c277ee7bc22ace719a47b6 [diff] [blame] |
Update uses of string exceptions
diff --git a/Demo/rpc/rpc.py b/Demo/rpc/rpc.py index 0a14bf2..08ef2fb 100644 --- a/Demo/rpc/rpc.py +++ b/Demo/rpc/rpc.py
@@ -80,9 +80,9 @@ # 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):