From b74de1921330f0666d59f2855464491dbeecc6e3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 7 Apr 2014 20:06:03 +0200 Subject: [PATCH] Trivial style update --- lib/utils/purge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/purge.py b/lib/utils/purge.py index 860c6495b..e1f891cff 100644 --- a/lib/utils/purge.py +++ b/lib/utils/purge.py @@ -44,7 +44,7 @@ def purge(directory): for filepath in filepaths: try: filesize = os.path.getsize(filepath) - with open(filepath, 'w+b') as f: + with open(filepath, "w+b") as f: f.write("".join(chr(random.randint(0, 255)) for _ in xrange(filesize))) except: pass