From 3f174b45b1a35d961faf9d2e9b79b4aa95612f18 Mon Sep 17 00:00:00 2001 From: openKylinBot Date: Sat, 14 May 2022 02:47:50 +0800 Subject: [PATCH] format patches --- .../001.doctests-compatible-py2and3.patch | 35 ++++++++----------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/debian/patches/001.doctests-compatible-py2and3.patch b/debian/patches/001.doctests-compatible-py2and3.patch index 0f6edfb..dab416c 100644 --- a/debian/patches/001.doctests-compatible-py2and3.patch +++ b/debian/patches/001.doctests-compatible-py2and3.patch @@ -1,15 +1,20 @@ -Description: Make doctest examples compatible with Python 2 and Python 3. - . - Existing doctests were written only for Python 2 and have not yet - been updated upstream to work with Python 3. -Author: Ben Finney +From: Ben Finney +Date: Sat, 14 May 2022 02:47:49 +0800 +Subject: Make doctest examples compatible with Python 2 and Python 3. + +Existing doctests were written only for Python 2 and have not yet +been updated upstream to work with Python 3. Last-Update: 2015-05-16 +--- + doc/source/index.rst | 6 +++--- + lockfile/__init__.py | 16 ++++++++-------- + 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst -index f76173d..b4bfd4d 100644 +index 5f1f2dd..ac1ba50 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst -@@ -224,14 +224,14 @@ This example is the "hello world" for the :mod:`lockfile` package:: +@@ -231,14 +231,14 @@ This example is the "hello world" for the :mod:`lockfile` package:: from lockfile import LockFile lock = LockFile("/some/file/or/other") with lock: @@ -26,7 +31,7 @@ index f76173d..b4bfd4d 100644 lock.release() If you don't want to wait forever, you might try:: -@@ -244,7 +244,7 @@ If you don't want to wait forever, you might try:: +@@ -251,7 +251,7 @@ If you don't want to wait forever, you might try:: except LockTimeout: lock.break_lock() lock.acquire() @@ -36,7 +41,7 @@ index f76173d..b4bfd4d 100644 You can also insure that a lock is always held when appropriately decorated diff --git a/lockfile/__init__.py b/lockfile/__init__.py -index 419d122..339a205 100644 +index a6f44a5..d4b1436 100644 --- a/lockfile/__init__.py +++ b/lockfile/__init__.py @@ -12,23 +12,23 @@ Usage: @@ -79,15 +84,3 @@ index 419d122..339a205 100644 False Exceptions: - - - -Local variables: -coding: utf-8 -mode: diff -time-stamp-format: "%:y-%02m-%02d" -time-stamp-start: "^Last-Update:[ ]+" -time-stamp-end: "$" -time-stamp-line-limit: 20 -End: -vim: fileencoding=utf-8 filetype=diff :