You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2023. It is now read-only.
There are too many duplicated code in xtrabackup command builder functionality also I am using hasattr():
# Checking if extra options were passed:
if hasattr(self, 'xtra_options'):
args += " "
args += self.xtra_options
# Checking if extra backup options were passed:
if hasattr(self, 'xtra_backup'):
args += " "
args += self.xtra_backup
This can be achieved by using try/except.
Also these sections can be grouped together maybe. Will see.
The text was updated successfully, but these errors were encountered:
There are too many duplicated code in xtrabackup command builder functionality also I am using
hasattr()
:This can be achieved by using
try/except
.Also these sections can be grouped together maybe. Will see.
The text was updated successfully, but these errors were encountered: