Mercurial > hg > truffle
comparison mxtool/mx.py @ 17186:ca13853abf0d
mx: fix pylint issues
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 23 Sep 2014 13:18:14 +0200 |
parents | 1cc8b62b4d37 |
children | a02c295218aa |
comparison
equal
deleted
inserted
replaced
17185:7169e42f7e1b | 17186:ca13853abf0d |
---|---|
938 original['dependencies'] += v | 938 original['dependencies'] += v |
939 | 939 |
940 dictName = 'extra' | 940 dictName = 'extra' |
941 moduleName = 'suite' + str(suffix) | 941 moduleName = 'suite' + str(suffix) |
942 modulePath = join(mxDir, moduleName + '.py') | 942 modulePath = join(mxDir, moduleName + '.py') |
943 | 943 |
944 deprecatedModulePath = join(mxDir, 'projects' + str(suffix) + '.py') | 944 deprecatedModulePath = join(mxDir, 'projects' + str(suffix) + '.py') |
945 if exists(deprecatedModulePath): | 945 if exists(deprecatedModulePath): |
946 abort('Please rename ' + deprecatedModulePath + ' to ' + modulePath) | 946 abort('Please rename ' + deprecatedModulePath + ' to ' + modulePath) |
947 | 947 |
948 suffix = suffix + 1 | 948 suffix = suffix + 1 |
949 | 949 |
950 return suite, modulePath | 950 return suite, modulePath |
951 | 951 |
952 class Suite: | 952 class Suite: |