From c2bc6178e56acee7856b9f7cb4fd50b15f5a531e Mon Sep 17 00:00:00 2001 From: David Shea Date: Tue, 28 Jul 2015 17:46:00 -0400 Subject: [PATCH] Escape \'s in doc strings --- pyanaconda/flags.py | 2 +- pyanaconda/kickstart.py | 2 +- pyanaconda/ui/gui/utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py index c6c451f9bc5..6a063cd6594 100644 --- a/pyanaconda/flags.py +++ b/pyanaconda/flags.py @@ -122,7 +122,7 @@ def read(self, filenames): Read and parse a filename (or a list of filenames). Files that can't be read are silently ignored. Returns a list of successfully read files. - filenames can contain \*, ?, and character ranges expressed with [] + filenames can contain \\*, ?, and character ranges expressed with [] """ readfiles = [] diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 52e8ef7e943..31c5382da22 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -88,7 +88,7 @@ class AnacondaKSScript(KSScript): This will write the script to a file named /tmp/ks-script- before execution. Output is logged by the program logger, the path specified by --log - or to /tmp/ks-script-\*.log + or to /tmp/ks-script-\\*.log """ def run(self, chroot): """ Run the kickstart script diff --git a/pyanaconda/ui/gui/utils.py b/pyanaconda/ui/gui/utils.py index 811c076253e..83541c3ab0d 100644 --- a/pyanaconda/ui/gui/utils.py +++ b/pyanaconda/ui/gui/utils.py @@ -151,7 +151,7 @@ def gtk_batch_map(action, items, args=(), pre_func=None, batch_size=1): :param action: any action that has to be done on the items in the main thread - :type action: (action_item, \*args) -> None + :type action: (action_item, \\*args) -> None :param items: an iterable of items that the action should be mapped on :type items: iterable :param args: additional arguments passed to the action function