From 41ddd0858195cb3150863a10756798d336d24bf8 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sat, 27 Aug 2011 10:12:58 -0400 Subject: Remove unused method_list() --- dotfiles/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dotfiles/cli.py b/dotfiles/cli.py index 2e5458c..d00788e 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -14,12 +14,8 @@ from optparse import OptionParser, OptionGroup DEFAULT_REPO = "~/Dotfiles" -def method_list(object): - return [method for method in dir(object) - if callable(getattr(object, method))] - - def parse_args(): + parser = OptionParser(usage="%prog ACTION [OPTION...] [FILE...]") parser.set_defaults(config=os.path.expanduser("~/.dotfilesrc")) -- cgit v1.2.3