Permalink
Browse files

Minor reformat according to the styleguide.

  • Loading branch information...
1 parent 870c433 commit 9f5860a8f75ab1dc42deaa0d2a10da55aed0696d @sashka committed May 25, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 atomicfile.py
  2. +2 −2 test.py → tests.py
View
@@ -1,8 +1,8 @@
-# coding=utf-8
+# encoding: utf-8
-import tempfile
-import os
import errno
+import os
+import tempfile
umask = os.umask(0)
View
@@ -1,6 +1,7 @@
-#!/usr/bin/env python
# encoding: utf-8
+
from __future__ import with_statement
+
import os
import unittest
@@ -14,7 +15,6 @@ def create_test_file(filename):
class AtomicFileTest(unittest.TestCase):
-
def setUp(self):
self.filename = 'test-atomicfile.txt'

0 comments on commit 9f5860a

Please sign in to comment.