diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-07-02 08:05:06 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-07-02 08:53:04 +0200 |
commit | e6e0150e07be32b91624b460b67be39b8f6b0ab9 (patch) | |
tree | ebf593199d58f8a46d3bbeae3335258c6e264d54 /gbp/config.py | |
parent | 92a744e5c8e9751f7336ddaac597ded2a7456d8f (diff) |
Make exception syntax consistent
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py index 5917a48..6d8fcfe 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -367,7 +367,7 @@ class GbpOptionParser(OptionParser): elif default.lower() in ["false", "0" ]: val = 'False' else: - raise ValueError, "Boolean options must be True or False" + raise ValueError("Boolean options must be True or False") return eval(val) def get_default(self, option_name, **kwargs): |