#313 Explicitly use python2 shebangs
Closed 5 years ago by ngompa. Opened 5 years ago by churchyard.
churchyard/FedoraReview shebangs  into  devel

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/python

+ #!/usr/bin/python2

  #    -*- coding: utf-8 -*-

  #

  # See: https://bugzilla.redhat.com/show_bug.cgi?id=675140#c1

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  """

  Setup script

  """

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/python -tt

+ #!/usr/bin/python2 -tt

  #    -*- coding: utf-8 -*-

  

  #    This program is free software; you can redistribute it and/or modify

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/python -tt

+ #!/usr/bin/python2 -tt

  #-*- coding: utf-8 -*-

  # vim: set expandtab: ts=4:sw=4:

  #

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/python -tt

+ #!/usr/bin/python2 -tt

  #-*- coding: utf-8 -*-

  # vim: set expandtab: ts=4:sw=4:

  #

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  #

  # Updates version from version.tmpl

  #

Unfortunately, FedoraReview is Python 2 only. Until that's fixed, use explicit python2 shebangs.

What would it take to get us to Python 3?

rebased onto 64148f1

5 years ago

Pull-Request has been closed by ngompa

5 years ago

devel is now Python 3 compatible, so this is not necessary.