Permalink
Browse files

fix exception raising

since python2.6, exceptions must be old-style classes or derived from BaseException, not str
  • Loading branch information...
getxsick
getxsick committed Jul 13, 2010
1 parent 176ce47 commit 357776015b495fa6c66de6126909683e267f32e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -61,7 +61,7 @@ def _pcap_config(self, dirs=[ None ]):
print 'found', cfg
self._write_config_h(cfg)
return cfg
raise "couldn't find pcap build or installation directory"
raise Exception("couldn't find pcap build or installation directory")
def run(self):
#config.log.set_verbosity(0)

0 comments on commit 3577760

Please sign in to comment.