aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCraig Blaszczyk2012-01-04 18:05:12 +0000
committerCraig Blaszczyk2012-01-04 18:05:12 +0000
commit46e4ba258fd2e74384a6a43b9edbe55754518bc2 (patch)
tree2f392c4543919635e6a17541dc1d98e9d560aaf8 /examples
parentbe11336dd91f26475a46f41e94c6c0fef25f53f3 (diff)
downloaddjango-rest-framework-46e4ba258fd2e74384a6a43b9edbe55754518bc2.tar.bz2
#75 remove except statements which are overly broad in the exception they catch
Diffstat (limited to 'examples')
-rw-r--r--examples/pygments_api/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pygments_api/tests.py b/examples/pygments_api/tests.py
index 98139ce2..24726647 100644
--- a/examples/pygments_api/tests.py
+++ b/examples/pygments_api/tests.py
@@ -18,7 +18,7 @@ class TestPygmentsExample(TestCase):
def tearDown(self):
try:
shutil.rmtree(self.temp_dir)
- except:
+ except Exception:
pass
def test_get_to_root(self):