diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2018-01-18 17:19:41 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2018-01-18 17:19:41 -0500 |
commit | 5bf95742fc42ef7174477d8d6c46e5cfa0b89173 (patch) | |
tree | 4eb1fdd66975b7ae5a4d29234393ce2ffd310d48 | |
parent | bab81ae17157c401e899c8d7886e88e47e0f545e (diff) | |
download | librevideoconverter-5bf95742fc42ef7174477d8d6c46e5cfa0b89173.tar.lz librevideoconverter-5bf95742fc42ef7174477d8d6c46e5cfa0b89173.tar.xz librevideoconverter-5bf95742fc42ef7174477d8d6c46e5cfa0b89173.zip |
pep8 en test/testdata/fake_converter.py
-rw-r--r-- | test/testdata/fake_converter.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/testdata/fake_converter.py b/test/testdata/fake_converter.py index f9ef102..9f89d47 100644 --- a/test/testdata/fake_converter.py +++ b/test/testdata/fake_converter.py @@ -11,19 +11,19 @@ if 'error' in filename: if os.path.exists(output): print json.dumps({'finished': True, 'error': '%r existed when we started' % ( - output,)}) + output,)}) sys.exit(1) time.sleep(0.5) RANGE = 5 for i in range(RANGE): print json.dumps({ - 'filename': filename, - 'output': output, - 'duration': RANGE, - 'progress': i, - 'eta': RANGE - i - }) + 'filename': filename, + 'output': output, + 'duration': RANGE, + 'progress': i, + 'eta': RANGE - i + }) time.sleep(0.1) with file(output, 'w') as f: |