format patches
This commit is contained in:
parent
3909b840d0
commit
3f174b45b1
|
@ -1,15 +1,20 @@
|
||||||
Description: Make doctest examples compatible with Python 2 and Python 3.
|
From: Ben Finney <bignose@debian.org>
|
||||||
.
|
Date: Sat, 14 May 2022 02:47:49 +0800
|
||||||
Existing doctests were written only for Python 2 and have not yet
|
Subject: Make doctest examples compatible with Python 2 and Python 3.
|
||||||
been updated upstream to work with Python 3.
|
|
||||||
Author: Ben Finney <bignose@debian.org>
|
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
|
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
|
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
|
--- a/doc/source/index.rst
|
||||||
+++ b/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
|
from lockfile import LockFile
|
||||||
lock = LockFile("/some/file/or/other")
|
lock = LockFile("/some/file/or/other")
|
||||||
with lock:
|
with lock:
|
||||||
|
@ -26,7 +31,7 @@ index f76173d..b4bfd4d 100644
|
||||||
lock.release()
|
lock.release()
|
||||||
|
|
||||||
If you don't want to wait forever, you might try::
|
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:
|
except LockTimeout:
|
||||||
lock.break_lock()
|
lock.break_lock()
|
||||||
lock.acquire()
|
lock.acquire()
|
||||||
|
@ -36,7 +41,7 @@ index f76173d..b4bfd4d 100644
|
||||||
|
|
||||||
You can also insure that a lock is always held when appropriately decorated
|
You can also insure that a lock is always held when appropriately decorated
|
||||||
diff --git a/lockfile/__init__.py b/lockfile/__init__.py
|
diff --git a/lockfile/__init__.py b/lockfile/__init__.py
|
||||||
index 419d122..339a205 100644
|
index a6f44a5..d4b1436 100644
|
||||||
--- a/lockfile/__init__.py
|
--- a/lockfile/__init__.py
|
||||||
+++ b/lockfile/__init__.py
|
+++ b/lockfile/__init__.py
|
||||||
@@ -12,23 +12,23 @@ Usage:
|
@@ -12,23 +12,23 @@ Usage:
|
||||||
|
@ -79,15 +84,3 @@ index 419d122..339a205 100644
|
||||||
False
|
False
|
||||||
|
|
||||||
Exceptions:
|
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 :
|
|
||||||
|
|
Loading…
Reference in New Issue