mesonconf: fix tb and parsing options

Traceback (most recent call last):
  File "./mesonconf.py", line 202, in <module>
    print(args)
NameError: name 'args' is not defined

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/162/head
Igor Gnatenko 10 years ago
parent c0808f112e
commit f1bc1e2757
  1. 3
      mesonconf.py

@ -198,8 +198,7 @@ class Conf:
if __name__ == '__main__':
options = parser.parse_args()
if len(options.directory) > 1:
print(args)
if len(options.directory) < 1:
print('%s <build directory>' % sys.argv[0])
print('If you omit the build directory, the current directory is substituted.')
sys.exit(1)

Loading…
Cancel
Save