# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+import optparse
import sys
import ldb
type=str, metavar="URL", dest="H"),
Option("--selftest-check-expired-tombstones",
dest="selftest_check_expired_tombstones", default=False, action="store_true",
- help=Option.SUPPRESS_HELP), # This is only used by tests
+ help=optparse.SUPPRESS_HELP), # This is only used by tests
]
def run(self, DN=None, H=None, verbose=False, fix=False, yes=False,
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+import optparse
import os
import samba.getopt as options
takes_options = [
# --quiet is not used at all...
- Option("-q", "--quiet", help=Option.SUPPRESS_HELP, action="store_true"),
+ Option("-q", "--quiet", help=optparse.SUPPRESS_HELP, action="store_true"),
Option("-v", "--verbose", help="Be verbose", action="store_true"),
Option("--xattr-backend", type="choice", help="xattr backend type (native fs or tdb)",
choices=["native", "tdb"]),