diff options
| author | Bob Halley <halley@nominum.com> | 2010-01-14 14:51:06 -0800 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2010-01-14 14:51:06 -0800 |
| commit | 53cb0eb5cfb463ebd0fdad55026ba25ac5c898d4 (patch) | |
| tree | 10328f74009a1bdb93a5b924df5f1610417e370c /dns/entropy.py | |
| parent | 4fbaa1dce221a1bd1b24c5c5e88bab088c13be9f (diff) | |
| download | dnspython-53cb0eb5cfb463ebd0fdad55026ba25ac5c898d4.tar.gz | |
create exceptions with arguments as "raise E(args)" instead of "raise E, args"
Diffstat (limited to 'dns/entropy.py')
| -rw-r--r-- | dns/entropy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/entropy.py b/dns/entropy.py index 9e10d12..fd9d4f8 100644 --- a/dns/entropy.py +++ b/dns/entropy.py @@ -102,7 +102,7 @@ class EntropyPool(object): def random_between(self, first, last): size = last - first + 1 if size > 4294967296L: - raise ValueError, 'too big' + raise ValueError('too big') if size > 65536: rand = self.random_32 max = 4294967295L |
