#! /usr/bin/env python
+from __future__ import print_function
import os
from time import mktime
from shutil import copyfileobj
compile_format = False
try:
format = get_config().get('download', 'format')
- except:
+ except Exception:
return
got_percent = False
compiled = []
def test():
_compile_format()
- print compiled_format
+ print(compiled_format)
+
if __name__ == '__main__':
test()