Skip to content

Commit

Permalink
Fix checking git for modifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Oct 7, 2023
1 parent f26be32 commit 1cf4e31
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build_tools/check_no_git_modifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,24 @@
- "_pydevd_bundle\\\\pydevd_cython.pxd",
+ "_pydevd_bundle/pydevd_cython.pyx",
+ "_pydevd_bundle/pydevd_cython.pxd",
--- a/_pydevd_frame_eval/pydevd_frame_evaluator.c
+++ b/_pydevd_frame_eval/pydevd_frame_evaluator.c
- "_pydevd_frame_eval\\\\pydevd_frame_evaluator.pyx",
+ "_pydevd_frame_eval/pydevd_frame_evaluator.pyx",
- "_pydevd_bundle\\\\pydevd_cython.pxd",
+ "_pydevd_bundle/pydevd_cython.pxd",
- "_pydevd_bundle/pydevd_cython.pyx",
- "_pydevd_bundle/pydevd_cython.pxd",
+ "_pydevd_bundle\\\\pydevd_cython.pyx",
+ "_pydevd_bundle\\\\pydevd_cython.pxd",
- "_pydevd_frame_eval/pydevd_frame_evaluator.pyx",
+ "_pydevd_frame_eval\\\\pydevd_frame_evaluator.pyx",
- "_pydevd_bundle/pydevd_cython.pxd",
+ "_pydevd_bundle\\\\pydevd_cython.pxd",
'''.splitlines() if line.strip())


Expand Down Expand Up @@ -50,6 +62,7 @@ def main():
for line in output.decode('utf-8').splitlines():
if line.startswith('+') or line.startswith('-'):
if line.strip() not in expected_differences:
print('Found unexpected: %r' % (line,))
found_unexpected = True

if files and found_unexpected:
Expand Down

0 comments on commit 1cf4e31

Please sign in to comment.