0001-tools-make_rel_symlink.py-can-also-use-python2.patch 770 B

12345678910111213141516171819202122232425262728
  1. From c861eae83bae3116d330efb3c6061e2de4fdcbce Mon Sep 17 00:00:00 2001
  2. From: Baruch Siach <baruch@tkos.co.il>
  3. Date: Sun, 5 Apr 2015 22:26:12 +0300
  4. Subject: [PATCH] tools: make_rel_symlink.py can also use python2
  5. The make_rel_symlink.py script is compatible with both python2 and python3.
  6. Don't hard code a requirement for python3.
  7. Patch status: sent upstream
  8. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  9. ---
  10. tools/make_rel_symlink.py | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/tools/make_rel_symlink.py b/tools/make_rel_symlink.py
  13. index 896637ff93e0..ff0403a0397a 100755
  14. --- a/tools/make_rel_symlink.py
  15. +++ b/tools/make_rel_symlink.py
  16. @@ -1,4 +1,4 @@
  17. -#!/usr/bin/env python3
  18. +#!/usr/bin/env python
  19. import os
  20. import os.path
  21. --
  22. 2.1.4