~xubuntu-dev/ubuntu-cdimage/xubuntu-base

« back to all changes in this revision

Viewing changes to lib/cdimage/atomicfile.py

  • Committer: Colin Watson
  • Date: 2015-10-26 11:06:11 UTC
  • Revision ID: cjwatson@canonical.com-20151026110611-wwhly63l5lxdos1g
pacify current pep8(1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
"""Atomic writing of files."""
17
17
 
18
 
__metaclass__ = type
19
 
 
20
18
import codecs
21
19
import io
22
20
import os
23
21
import sys
24
22
 
 
23
__metaclass__ = type
 
24
 
25
25
 
26
26
class AtomicFile:
27
27
    """Facilitate atomic writing of files.  Forces UTF-8 encoding."""