Skip to content

Commit b2072a2

Browse files
committed
Fixing lint issues
1 parent a7de8f8 commit b2072a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/modules/mysql_info.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,9 @@ def __get_master_status(self):
511511

512512
def __get_slave_status(self):
513513
"""Get slave status if the instance is a slave."""
514-
if(self.is_mariadb()):
514+
if self.is_mariadb():
515515
res = self.__exec_sql('SHOW ALL SLAVES STATUS')
516-
else:
516+
else:
517517
res = self.__exec_sql('SHOW SLAVE STATUS')
518518
if res:
519519
for line in res:
@@ -757,9 +757,9 @@ def main():
757757

758758
cursor.execute("SELECT VERSION()")
759759
if 'mariadb' in cursor.fetchone()[0].lower():
760-
server_implementation="mariadb"
760+
server_implementation = "mariadb"
761761
else:
762-
server_implementation="mysql"
762+
server_implementation = "mysql"
763763

764764
###############################
765765
# Create object and do main job

0 commit comments

Comments
 (0)