cubicweb/web/views/staticcontrollers.py
changeset 12223 79d243a2f0c5
parent 11913 4516c3956d46
child 12310 aa999699e504
--- a/cubicweb/web/views/staticcontrollers.py	Mon Oct 30 09:16:07 2017 +0100
+++ b/cubicweb/web/views/staticcontrollers.py	Mon Oct 30 09:25:22 2017 +0100
@@ -168,7 +168,7 @@
                                     f.write(line)
                             f.write(b'\n')
                     f.close()
-                except:
+                except Exception:
                     os.remove(tmpfile)
                     raise
                 else: