diff --git a/marcel/doc/help_color.py b/marcel/doc/help_color.py index 99ba309..7f85421 100644 --- a/marcel/doc/help_color.py +++ b/marcel/doc/help_color.py @@ -52,12 +52,12 @@ COLOR_SCHEME.file_dir = Color(0, 2, 3, BOLD) COLOR_SCHEME.file_link = Color(4, 2, 0, BOLD) COLOR_SCHEME.file_executable = Color(0, 4, 0, BOLD) -COLOR_SCHEME.file_extension = \{'.jpg': COLOR_IMAGE_HIGHLIGHT, +COLOR_SCHEME.file_extension = \\{'.jpg': COLOR_IMAGE_HIGHLIGHT, '.jpeg': COLOR_IMAGE_HIGHLIGHT, '.png': COLOR_IMAGE_HIGHLIGHT, '.mov': COLOR_IMAGE_HIGHLIGHT, '.avi': COLOR_IMAGE_HIGHLIGHT, - '.gif': COLOR_IMAGE_HIGHLIGHT\} + '.gif': COLOR_IMAGE_HIGHLIGHT\\} COLOR_SCHEME.error = Color(5, 5, 0) COLOR_SCHEME.process_pid = Color(0, 2, 4, BOLD) COLOR_SCHEME.process_command = Color(3, 2, 0, BOLD) diff --git a/marcel/doc/help_operator.py b/marcel/doc/help_operator.py index 0898fdb..1f82626 100644 --- a/marcel/doc/help_operator.py +++ b/marcel/doc/help_operator.py @@ -78,9 +78,9 @@ For example, to format the above output differently: {p,wrap=F,indent=4} -ls -f | map (f: (f.name, f.size)) | out '\{\}: \{\}' +ls -f | map (f: (f.name, f.size)) | out '\\{\\}: \\{\\}' -The standard Python formatting string, '\{\}: \{\}' produces this output: +The standard Python formatting string, '\\{\\}: \\{\\}' produces this output: {p,wrap=F,indent=4} 10-console-messages.conf: 77 diff --git a/marcel/version.py b/marcel/version.py index 37fc5ef..db50db8 100644 --- a/marcel/version.py +++ b/marcel/version.py @@ -13,4 +13,4 @@ # You should have received a copy of the GNU General Public License # along with Marcel. If not, see . -VERSION = '0.25.0' +VERSION = '0.26.0' diff --git a/test/test_ops.py b/test/test_ops.py index b9ccc43..71c9f6e 100644 --- a/test/test_ops.py +++ b/test/test_ops.py @@ -268,7 +268,7 @@ def test_red(): expected_out=[1]) TEST.run('gen 20 1 | select (x: x in (3, 7, 15)) | red &', expected_out=[3]) - TEST.run('gen 75 | select (x: x in (18, 36, 73)) | red \|', + TEST.run('gen 75 | select (x: x in (18, 36, 73)) | red \\|', expected_out=[127]) TEST.run('gen 3 | map (x: x == 1) | red and', expected_out=[False])