[Python-modules-commits] [python-asgi-ipc] 06/13: merge patched into master
Michael Fladischer
fladi at moszumanska.debian.org
Fri Nov 17 12:24:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch debian/master
in repository python-asgi-ipc.
commit 919428c962551a94320119fb23baa736486a01d8
Merge: 1394303 05137c1
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Thu Jul 20 10:05:06 2017 +0200
merge patched into master
asgi_ipc/store.py | 1 +
debian/.git-dpm | 4 ++--
debian/patches/0002-Add-debug-statement.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 25 insertions(+), 2 deletions(-)
diff --cc debian/.git-dpm
index f9dc310,0000000..6c25703
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,8 -1,0 +1,8 @@@
+# see git-dpm(1) from git-dpm package
- 5dbfff9a93af8172147bbaf93d7b7b9e60940f79
- 5dbfff9a93af8172147bbaf93d7b7b9e60940f79
++05137c135bb02e16221e8254c4bc4d782225a04f
++05137c135bb02e16221e8254c4bc4d782225a04f
+f0375ece468f77fb25b147a6ff67b4a1dd4b8ba6
+f0375ece468f77fb25b147a6ff67b4a1dd4b8ba6
+python-asgi-ipc_1.4.0.orig.tar.gz
+5f84ba8be797e467083ec725013618825e02cb16
+7609
diff --cc debian/patches/0002-Add-debug-statement.patch
index 0000000,0000000..48e11f2
new file mode 100644
--- /dev/null
+++ b/debian/patches/0002-Add-debug-statement.patch
@@@ -1,0 -1,0 +1,21 @@@
++From 05137c135bb02e16221e8254c4bc4d782225a04f Mon Sep 17 00:00:00 2001
++From: Michael Fladischer <FladischerMichael at fladi.at>
++Date: Thu, 20 Jul 2017 10:04:58 +0200
++Subject: Add debug statement.
++
++---
++ asgi_ipc/store.py | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/asgi_ipc/store.py b/asgi_ipc/store.py
++index 672a36d..326a3e4 100644
++--- a/asgi_ipc/store.py
+++++ b/asgi_ipc/store.py
++@@ -25,6 +25,7 @@ class BaseMemoryStore(object):
++ def __init__(self, path, memory_size):
++ self.memory_size = memory_size
++ self.path = path
+++ print(path)
++ self.semaphore = posix_ipc.Semaphore(path, flags=posix_ipc.O_CREAT, initial_value=1)
++ self.memory = posix_ipc.SharedMemory(path, flags=posix_ipc.O_CREAT, size=self.memory_size)
++ self.mmap = mmap.mmap(self.memory.fd, self.memory.size)
diff --cc debian/patches/series
index 0bc4308,0000000..a2f4949
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,2 @@@
+0001-Relax-version-requirements-in-posix_ipc.patch
++0002-Add-debug-statement.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-asgi-ipc.git
More information about the Python-modules-commits
mailing list