diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2012-11-05 10:52:57 -0600 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2012-11-05 10:52:57 -0600 |
commit | 5761a2c55ddea29d47594365f31b69683cd4d5dd (patch) | |
tree | 6e564b615a813ad4fe1eea4b595db65233d1e228 /tests/test_content_types.py | |
parent | a6ef09d94300718197a4fa8757fd3a7a45876963 (diff) | |
download | keystone-5761a2c55ddea29d47594365f31b69683cd4d5dd.tar.gz keystone-5761a2c55ddea29d47594365f31b69683cd4d5dd.tar.xz keystone-5761a2c55ddea29d47594365f31b69683cd4d5dd.zip |
HACKING compliance: consistent use of 'except'
Change-Id: I8301043965e08ffdec63441e612628d9a60876b7
Diffstat (limited to 'tests/test_content_types.py')
-rw-r--r-- | tests/test_content_types.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py index 95d1256a..67565207 100644 --- a/tests/test_content_types.py +++ b/tests/test_content_types.py @@ -258,10 +258,6 @@ class RestfulTestCase(test.TestCase): class CoreApiTests(object): def assertValidError(self, error): """Applicable to XML and JSON.""" - try: - print error.attrib - except: - pass self.assertIsNotNone(error.get('code')) self.assertIsNotNone(error.get('title')) self.assertIsNotNone(error.get('message')) |