autopep8: fix E221 multiple spaces before operator
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 13 Feb 2019 17:11:31 +0100
changeset 841 8682fcf6a7f0
parent 840 bc3db19a8a53
child 842 48d8347641b8
autopep8: fix E221 multiple spaces before operator
rql/__init__.py
test/unittest_analyze.py
--- a/rql/__init__.py	Wed Feb 13 17:08:31 2019 +0100
+++ b/rql/__init__.py	Wed Feb 13 17:11:31 2019 +0100
@@ -248,7 +248,7 @@
             raise exc
     except NoMoreTokens:
         msg = 'Could not complete parsing; stopped around here: \n%s'
-        exc = RQLSyntaxError(msg  % parser._scanner)
+        exc = RQLSyntaxError(msg % parser._scanner)
         exc.__traceback__ = sys.exc_info()[-1]
         raise exc
 
--- a/test/unittest_analyze.py	Wed Feb 13 17:08:31 2019 +0100
+++ b/test/unittest_analyze.py	Wed Feb 13 17:11:31 2019 +0100
@@ -91,7 +91,7 @@
                       'Eetype', 'Person', 'Company', 'Address', 'Student']:
             self._types[etype] = EntitySchema(etype)
         self._types['Person']._specialized_by = [self._types['Student']]
-        self._relations  = {
+        self._relations = {
             'eid' : RelationSchema((('Person', ('Int',)),
                                       ('Student', ('Int',)),
                                       ('Company', ('Int',)),