From c2bc6178e56acee7856b9f7cb4fd50b15f5a531e Mon Sep 17 00:00:00 2001 From: David Shea Date: Jul 29 2015 13:22:14 +0000 Subject: Escape \'s in doc strings --- diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py index c6c451f..6a063cd 100644 --- a/pyanaconda/flags.py +++ b/pyanaconda/flags.py @@ -122,7 +122,7 @@ class BootArgs(OrderedDict): 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 52e8ef7..31c5382 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 811c076..83541c3 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