Mercurial > hg > truffle
comparison mxtool/mx.py @ 12571:693622f11dc3
applied auto-format
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 24 Oct 2013 14:58:48 +0200 |
parents | 9af82ca3f225 |
children | a9f750305a38 |
comparison
equal
deleted
inserted
replaced
12570:af39ea2dc39d | 12571:693622f11dc3 |
---|---|
766 | 766 |
767 if self.name is None: | 767 if self.name is None: |
768 abort('Missing "suite=<name>" in ' + projectsFile) | 768 abort('Missing "suite=<name>" in ' + projectsFile) |
769 | 769 |
770 def _commands_name(self): | 770 def _commands_name(self): |
771 return 'mx_' + self.name.replace('-','_') | 771 return 'mx_' + self.name.replace('-', '_') |
772 | 772 |
773 def _find_commands(self, name): | 773 def _find_commands(self, name): |
774 commandsPath = join(self.mxDir, name + '.py') | 774 commandsPath = join(self.mxDir, name + '.py') |
775 if exists(commandsPath): | 775 if exists(commandsPath): |
776 return name | 776 return name |