aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-07 01:02:35 +0100
committerSam James <sam@gentoo.org>2023-08-07 01:04:33 +0100
commit69f8aa0ea5bd6744e509251b8d9e150bf62b00ad (patch)
treed7777709f0d80c718b0dfade0305de0e1c95cbb2
parentDrop old URLs (diff)
downloadmirrorselect-69f8aa0ea5bd6744e509251b8d9e150bf62b00ad.tar.gz
mirrorselect-69f8aa0ea5bd6744e509251b8d9e150bf62b00ad.tar.bz2
mirrorselect-69f8aa0ea5bd6744e509251b8d9e150bf62b00ad.zip
Modernise shebang
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xbin/mirrorselect5
-rwxr-xr-xmirrorselect/main.py5
-rw-r--r--mirrorselect/output.py4
-rw-r--r--mirrorselect/selectors.py5
-rw-r--r--mirrorselect/version.py6
-rwxr-xr-xsetup.py4
6 files changed, 11 insertions, 18 deletions
diff --git a/bin/mirrorselect b/bin/mirrorselect
index 3474935..7f019e3 100755
--- a/bin/mirrorselect
+++ b/bin/mirrorselect
@@ -1,10 +1,9 @@
-#!/usr/bin/env python
-
+#!/usr/bin/env python3
"""Mirrorselect 2.x
Tool for selecting Gentoo source and rsync mirrors.
-Copyright 2005-2012 Gentoo Foundation
+Copyright 2005-2023 Gentoo Authors
Copyright (C) 2005 Colin Kingsley <tercel@gentoo.org>
Copyright (C) 2008 Zac Medico <zmedico@gentoo.org>
diff --git a/mirrorselect/main.py b/mirrorselect/main.py
index 21f7e24..f003b8c 100755
--- a/mirrorselect/main.py
+++ b/mirrorselect/main.py
@@ -1,10 +1,9 @@
-#!/usr/bin/env python
-
+#!/usr/bin/env python3
"""Mirrorselect 2.x
Tool for selecting Gentoo source and rsync mirrors.
-Copyright 2005-2012 Gentoo Foundation
+Copyright 2005-2023 Gentoo Authors
Copyright (C) 2005 Colin Kingsley <tercel@gentoo.org>
Copyright (C) 2008 Zac Medico <zmedico@gentoo.org>
diff --git a/mirrorselect/output.py b/mirrorselect/output.py
index c2fdd12..aa679cb 100644
--- a/mirrorselect/output.py
+++ b/mirrorselect/output.py
@@ -1,9 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Mirrorselect 2.x
Tool for selecting Gentoo source and rsync mirrors.
-Copyright 2005-2012 Gentoo Foundation
+Copyright 2005-2023 Gentoo Authors
Copyright (C) 2005 Colin Kingsley <tercel@gentoo.org>
Copyright (C) 2008 Zac Medico <zmedico@gentoo.org>
diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py
index df66cc4..9647e56 100644
--- a/mirrorselect/selectors.py
+++ b/mirrorselect/selectors.py
@@ -1,10 +1,9 @@
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
+#!/usr/bin/env python3
"""Mirrorselect 2.x
Tool for selecting Gentoo source and rsync mirrors.
-Copyright 2005-2012 Gentoo Foundation
+Copyright 2005-2023 Gentoo Authors
Copyright (C) 2005 Colin Kingsley <tercel@gentoo.org>
Copyright (C) 2008 Zac Medico <zmedico@gentoo.org>
diff --git a/mirrorselect/version.py b/mirrorselect/version.py
index c8216df..dadd00b 100644
--- a/mirrorselect/version.py
+++ b/mirrorselect/version.py
@@ -1,11 +1,9 @@
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
+#!/usr/bin/env python3
"""Mirrorselect 2.x
Tool for selecting Gentoo source and rsync mirrors.
-Copyright 2012-2019 Gentoo Authors
+Copyright 2012-2023 Gentoo Authors
Copyright (C) 2012 Brian Dolbec <dolsen@gentoo.org>
diff --git a/setup.py b/setup.py
index 3c701a1..770d93d 100755
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,4 @@
-#!/usr/bin/env python
-# coding: utf-8
-
+#!/usr/bin/env python3
import logging
import re