| OLD | NEW |
| 1 # coding: utf-8 | |
| 2 | |
| 3 # This Source Code Form is subject to the terms of the Mozilla Public | 1 # This Source Code Form is subject to the terms of the Mozilla Public |
| 4 # License, v. 2.0. If a copy of the MPL was not distributed with this | 2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. | 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 6 | 4 |
| 7 import os | 5 import os |
| 8 import sys | 6 import sys |
| 9 import re | 7 import re |
| 10 import subprocess | 8 import subprocess |
| 11 import shutil | 9 import shutil |
| 12 import buildtools | 10 import buildtools |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 if option in ('-h', '--help'): | 611 if option in ('-h', '--help'): |
| 614 usage(scriptName, type, command) | 612 usage(scriptName, type, command) |
| 615 sys.exit() | 613 sys.exit() |
| 616 commands[command](baseDir, scriptName, opts, args, type) | 614 commands[command](baseDir, scriptName, opts, args, type) |
| 617 else: | 615 else: |
| 618 print 'Command %s is not supported for this application type' % comm
and | 616 print 'Command %s is not supported for this application type' % comm
and |
| 619 usage(scriptName, type) | 617 usage(scriptName, type) |
| 620 else: | 618 else: |
| 621 print 'Command %s is unrecognized' % command | 619 print 'Command %s is unrecognized' % command |
| 622 usage(scriptName, type) | 620 usage(scriptName, type) |
| OLD | NEW |