summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2011-08-27 10:12:58 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2011-08-27 10:12:58 -0400
commit41ddd0858195cb3150863a10756798d336d24bf8 (patch)
tree69cf2cc2562f154aaf436ece5cfb181f16affc64
parent391cf217966a672307af19e85e08948ac8ac7f1a (diff)
downloaddotfiles-41ddd0858195cb3150863a10756798d336d24bf8.tar.gz
dotfiles-41ddd0858195cb3150863a10756798d336d24bf8.tar.bz2
dotfiles-41ddd0858195cb3150863a10756798d336d24bf8.zip
Remove unused method_list()
-rw-r--r--dotfiles/cli.py6
1 files changed, 1 insertions, 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"))