Skip to content
Browse files
Add docstrings and rename a function
Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Feb 7, 2016
1 parent 2ce1c52 commit 3693bfe2e95c2305da7736c13522d98a1264d1ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
@@ -88,4 +88,4 @@ def _execute(self, options, args):
if listing:
p.do_install_loop(url, name)
p.do_install_deps(url, name)
@@ -118,11 +118,12 @@ def _execute(self, options, args):
elif uninstall:
return self.do_uninstall(uninstall)
elif install:
return self.do_install_loop(url, install)
return self.do_install_deps(url, install)
elif get_path:
return self.get_path(get_path)

def do_install_loop(self, url, name):
def do_install_deps(self, url, name):
"""Install themes and their dependencies."""
data = self.get_json(url)
# `name` may be modified by the while loop.
origname = name
@@ -184,6 +185,7 @@ def do_install(self, name, data):
return True

def do_uninstall(self, name):
"""Uninstall a theme."""
path = utils.get_theme_path(name)
except Exception:

0 comments on commit 3693bfe

Please sign in to comment.