]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove comment code lines
authorj00356287 <jiajunsu@huawei.com>
Sat, 25 Jul 2020 20:33:25 +0000 (16:33 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Sat, 25 Jul 2020 20:33:25 +0000 (16:33 -0400)
PyODBCConnector.initialize just super from Connector, no need to redeclare, so I guess that's why they are commented before.

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->

Remove the useless comment code lines.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [x] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #5475
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5475
Pull-request-sha: 23176a7f0316d74407492c2bb299c88924ed0868

Change-Id: If94bb6275c30015e3aaa1519471b7d9bcda18bf8

lib/sqlalchemy/connectors/pyodbc.py

index 57a1c54fb43c039dfe78d4bbb437752cfe94ffea..96ac0c1f1ed4c754ed444428a3f563020511775e 100644 (file)
@@ -120,9 +120,6 @@ class PyODBCConnector(Connector):
         else:
             return False
 
-    # def initialize(self, connection):
-    #   super(PyODBCConnector, self).initialize(connection)
-
     def _dbapi_version(self):
         if not self.dbapi:
             return ()