Skip to content

Commit dfc3aa0

Browse files
committed
[hd] fix code check
1 parent e9d1e0c commit dfc3aa0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

LinxSrvc/hdware/rdma/set_sw-rxe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd ../../3rd
99
ln -s rxe-dev/include/linux/compiler-gcc5.h rxe-dev/include/linux/compiler-gcc8.h
1010
set container=rockylinux:8
1111
sudo apt-get install -y containerd.io
12-
docker run -v ../3rd:/mnt:rw -it --rm $container \
12+
docker run -v "../3rd:/mnt:rw" -it --rm $container \
1313
bash -c "yum install -y git gcc gcc-c++ make cmake3 libudev-devel numactl-devel libnl3-devel openssl-devel libcap-ng-devel; if [ ! -f /usr/bin/cmake ]; then ln -s /usr/bin/cmake3 /usr/bin/cmake; fi; ls /mnt; cd /mnt/rxe-dev; make clean; make -j \$(nproc); make install;"
1414
if [ ! -d "rdma-core" ]; then mkdir rdma-core; fi;
1515
cd rdma-core

WinNTKline/KlineUtil/tool/similary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ def _wrap_dir_compare(dir1, dir2, show_diff, ignore_dirs, ignore_files):
540540
info['ratio'] = _round_ratio_val(val)
541541
else:
542542
info['ratio'] = round(val, 3)
543-
except Exception:
544-
pass
543+
except Exception as e:
544+
print(f"Error processing ratio: {e}")
545545
fn = info.get('file_name', '')
546546
if '↔' in fn:
547547
left, right = [s.strip() for s in fn.split('↔', 1)]

0 commit comments

Comments
 (0)