[fix] Do not force json encoding - remove previous compatibility

This commit is contained in:
Jérôme Lebleu 2014-05-30 11:27:22 +02:00
parent d8c5121010
commit c47951e424

View file

@ -32,10 +32,7 @@ if __name__ == '__main__':
json = True
sys.argv.remove('--json')
## Compatibility with previous moulinette
if not os.isatty(1):
json = True
# Retrieve remaining arguments
args = list(sys.argv)
args.pop(0)