diff options
author | Jie Luo <anandolee@gmail.com> | 2017-08-17 13:51:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 13:51:22 -0700 |
commit | 5ab8ae75668d38db44e8d23437170f8f108a7581 (patch) | |
tree | 7a6901ad0e9295ccf7be5f1b83ad3016e157f9c6 | |
parent | 5e39ecc569153db63bc4e1587f703c7894223375 (diff) | |
parent | 958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4 (diff) | |
download | protobuf-5ab8ae75668d38db44e8d23437170f8f108a7581.tar.gz protobuf-5ab8ae75668d38db44e8d23437170f8f108a7581.tar.bz2 protobuf-5ab8ae75668d38db44e8d23437170f8f108a7581.zip |
Merge pull request #3511 from cclauss/patch-3
Old style exception --> new style exception
-rwxr-xr-x | python/mox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mox.py b/python/mox.py index 257468e5..43db0219 100755 --- a/python/mox.py +++ b/python/mox.py @@ -778,7 +778,7 @@ class Comparator: rhs: any python object """ - raise NotImplementedError, 'method must be implemented by a subclass.' + raise NotImplementedError('method must be implemented by a subclass.') def __eq__(self, rhs): return self.equals(rhs) |