From 1b897c39ba8c0f1bf180316637cc2d87e6920800 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Fri, 19 Feb 2016 17:08:56 +0530 Subject: tools/glusterfind: New option --no-encode New option added to skip encoding path in output file. Also handled Unicode strings. File paths can have newline characters, to differentiate between each path patch is encoded according to RFC3986(https://www.ietf.org/rfc/rfc3986.txt). Due to this consumer applications have to decode the path before consuming it. With this option Paths are not encoded, can be directly consumed by applications. Unicode encoding is handled automatically BUG: 1310080 Change-Id: I83d59831997dbd1264b48e9b1aa732c7dfc700b5 Signed-off-by: Aravinda VK Reviewed-on: http://review.gluster.org/13477 Smoke: Gluster Build System Reviewed-by: Milind Changire NetBSD-regression: NetBSD Build System Reviewed-by: Kotresh HR CentOS-regression: Gluster Build System Reviewed-by: Venky Shankar --- tools/glusterfind/src/conf.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/glusterfind/src/conf.py') diff --git a/tools/glusterfind/src/conf.py b/tools/glusterfind/src/conf.py index 2c6eac2bb14..d73fee42aad 100644 --- a/tools/glusterfind/src/conf.py +++ b/tools/glusterfind/src/conf.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # Copyright (c) 2015 Red Hat, Inc. # This file is part of GlusterFS. -- cgit