~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ignores.py

  • Committer: Martin Packman
  • Date: 2011-11-23 18:59:43 UTC
  • mto: This revision was merged to the branch mainline in revision 6304.
  • Revision ID: martin.packman@canonical.com-20111123185943-1s2ltxqt5ugohh0w
Add full stops to various registry help strings

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Lists of ignore files, etc."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
import errno
22
20
import os
23
21
from cStringIO import StringIO
29
27
    atomicfile,
30
28
    config,
31
29
    globbing,
32
 
    trace,
33
30
    )
 
31
 
 
32
from trace import warning
34
33
""")
35
34
 
36
35
# ~/.bazaar/ignore will be filled out using
73
72
                unicode_lines.append(line.decode('utf-8'))
74
73
            except UnicodeDecodeError:
75
74
                # report error about line (idx+1)
76
 
                trace.warning(
77
 
                        '.bzrignore: On Line #%d, malformed utf8 character. '
 
75
                warning('.bzrignore: On Line #%d, malformed utf8 character. '
78
76
                        'Ignoring line.' % (line_number+1))
79
77
 
80
78
    # Append each line to ignore list if it's not a comment line