25da7eea53
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/parted#0dd29ac6e146bd9e8f865e526ec393fe75aee111
35 lines
974 B
Diff
35 lines
974 B
Diff
From 22a4baba11ab299722e68f9ea37a53869afef7e1 Mon Sep 17 00:00:00 2001
|
|
From: "Brian C. Lane" <bcl@redhat.com>
|
|
Date: Wed, 27 Jun 2018 13:47:33 -0700
|
|
Subject: [PATCH 1/4] Switch gpt-header-move and msdos-overlap to python3
|
|
|
|
python2 is EOL on January 1, 2020 so it is time to switch to python3.
|
|
---
|
|
tests/gpt-header-move | 2 +-
|
|
tests/msdos-overlap | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tests/gpt-header-move b/tests/gpt-header-move
|
|
index 3dda5cb..18f58d0 100755
|
|
--- a/tests/gpt-header-move
|
|
+++ b/tests/gpt-header-move
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!/usr/bin/python3
|
|
|
|
# open img file, subtract 33 from altlba address, and move the last 33 sectors
|
|
# back by 33 sectors
|
|
diff --git a/tests/msdos-overlap b/tests/msdos-overlap
|
|
index d6ae8d6..b2b03e6 100755
|
|
--- a/tests/msdos-overlap
|
|
+++ b/tests/msdos-overlap
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!/usr/bin/python3
|
|
"""
|
|
Write an overlapping partition to a msdos disk
|
|
|
|
--
|
|
2.23.0
|
|
|