0001-Revert-tld-parser-use-Python-3.patch 795 B

123456789101112131415161718192021222324252627
  1. From 015926c80fa3e9704f05cbc1ad17f0a877f8de09 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  3. Date: Sat, 1 Sep 2018 15:39:04 +0200
  4. Subject: [PATCH] Revert "tld-parser: use Python 3"
  5. This reverts commit 4b924e573da307436169d5ef7e04c0ab85b36ef9. The
  6. script runs just fine with Python 2.x, there is no reason to enforce
  7. using Python 3.x.
  8. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  9. ---
  10. libsoup/tld-parser.py | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py
  13. index a743471a..5d9d2ba5 100755
  14. --- a/libsoup/tld-parser.py
  15. +++ b/libsoup/tld-parser.py
  16. @@ -1,4 +1,4 @@
  17. -#!/usr/bin/env python3
  18. +#!/usr/bin/env python
  19. # Generate tld rules
  20. # Copyright (C) 2012 Red Hat, Inc.
  21. --
  22. 2.14.4