Update file.py

This commit is contained in:
TheBigBear 2015-08-19 19:25:07 +01:00
parent ec7c7d738d
commit 598500034f

View file

@ -2491,7 +2491,7 @@ def replace(name,
CentOS \(2.6.32[^\n]+\n\s+root[^\n]+\n\)+
'''
.. note::
When using YAML multiline string syntax in pattern, make sure to also use that synyax in the repl part, or you might loose line feeds.
When using YAML multiline string syntax in pattern, make sure to also use that syntax in the repl part, or you might loose line feeds.
'''
name = os.path.expanduser(name)