Commits

Andriy Kornatskyy committed 743a502

Fixed PEP8 warnings.

Comments (0)

Files changed (2)

src/wheezy/core/db.py

     @property
     def connection(self):
         raise AssertionError('Not intended to be used directly. '
-            'Use cursor() method instead.')
+                             'Use cursor() method instead.')
 
     def cursor(self, *args, **kwargs):
         """ Ensure session is entered.

src/wheezy/core/tests/test_db.py

         """
         self.assertRaises(AssertionError,
                           lambda: self.session.__exit__(None, None, None))
+
     def test_exit(self):
         """ Noop if session is entered.
         """