Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed Mar 2, 2015
1 parent 0881cb0 commit b07d1df
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions awscli/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,6 @@ def render(self, contents):
p4.communicate(input=groff_output)
sys.exit(1)

def _get_rst2man_name(self):
if self._exists_on_path('rst2man.py'):
return 'rst2man.py'
elif self._exists_on_path('rst2man'):
# Some distros like ubuntu will rename rst2man.py to rst2man
# if you install their version (i.e. "apt-get install
# python-docutils"). Though they could technically rename
# this to anything we'll support it renamed to 'rst2man' by
# explicitly checking for this case ourself.
return 'rst2man'
else:
# Give them the original name as set from docutils.
raise ExecutableNotFoundError('rst2man.py')

def _exists_on_path(self, name):
# Since we're only dealing with POSIX systems, we can
# ignore things like PATHEXT.
Expand Down

0 comments on commit b07d1df

Please sign in to comment.