##// END OF EJS Templates
interfaces: use triple quotes for Attribute value...
Gregory Szorc -
r43278:5f8b6617 default
parent child Browse files
Show More
@@ -22,7 +22,7 b' class idirstate(interfaceutil.Interface)'
22
22
23 # TODO: all these private methods and attributes should be made
23 # TODO: all these private methods and attributes should be made
24 # public or removed from the interface.
24 # public or removed from the interface.
25 _ignore = interfaceutil.Attribute('Matcher for ignored files.')
25 _ignore = interfaceutil.Attribute("""Matcher for ignored files.""")
26
26
27 def _ignorefiles():
27 def _ignorefiles():
28 """Return a list of files containing patterns to ignore."""
28 """Return a list of files containing patterns to ignore."""
@@ -30,8 +30,8 b' class idirstate(interfaceutil.Interface)'
30 def _ignorefileandline(f):
30 def _ignorefileandline(f):
31 "Given a file `f`, return the ignore file and line that ignores it."
31 "Given a file `f`, return the ignore file and line that ignores it."
32
32
33 _checklink = interfaceutil.Attribute('Callable for checking symlinks.')
33 _checklink = interfaceutil.Attribute("""Callable for checking symlinks.""")
34 _checkexec = interfaceutil.Attribute('Callable for checking exec bits.')
34 _checkexec = interfaceutil.Attribute("""Callable for checking exec bits.""")
35
35
36 @contextlib.contextmanager
36 @contextlib.contextmanager
37 def parentchange():
37 def parentchange():
General Comments 0
You need to be logged in to leave comments. Login now