This is an automated email from the ASF dual-hosted git repository.

stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 75c639c9cd68a1d23ed180862fe8a76a99e21d55
Author: ttttttz <[email protected]>
AuthorDate: Mon Nov 10 23:13:21 2025 +0800

    IMPALA-14498: Fix a bug in initial code review checks
    
    When conducting a code review using flake8-diff, it may fail in some code 
sections
    due to the use of non-raw strings. This patch modifies one instance to 
successfully
    pass the initial code review. Although it is currently working, it may not 
cover
    all instances.
    
    Change-Id: I71889a117c64500bab13928971a2bce063a72cd4
    Reviewed-on: http://gerrit.cloudera.org:8080/23656
    Reviewed-by: Quanlong Huang <[email protected]>
    Tested-by: Quanlong Huang <[email protected]>
---
 tests/common/environ.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/common/environ.py b/tests/common/environ.py
index 38677634f..9869bf8da 100644
--- a/tests/common/environ.py
+++ b/tests/common/environ.py
@@ -41,7 +41,7 @@ IMPALA_LOCAL_VERSION_INFO = os.path.join(IMPALA_HOME, 
"bin/version.info")
 if os.path.isfile(IMPALA_LOCAL_VERSION_INFO):
   with open(IMPALA_LOCAL_VERSION_INFO) as f:
     for line in f:
-      match = re.match("VERSION: ([^\s]*)\n", line)
+      match = re.match(r"VERSION: ([^\s]*)\n", line)
       if match:
         IMPALA_LOCAL_BUILD_VERSION = match.group(1)
   if IMPALA_LOCAL_BUILD_VERSION is None:

Reply via email to