Skip to content

Commit 224a388

Browse files
committed
1 parent 320245a commit 224a388

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- src/cpython.h.orig 2024-10-23 10:00:28 UTC
2+
+++ src/cpython.h
3+
@@ -26,7 +26,7 @@
4+
5+
/* Some python versions don't include this by default. */
6+
7+
-#include <longintrepr.h>
8+
+#include <Python.h>
9+
10+
/* These two macros are basically Py_BEGIN_ALLOW_THREADS and
11+
* Py_BEGIN_ALLOW_THREADS

src/middlewared/middlewared/plugins/system.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ async def mem_info(self):
412412

413413
@private
414414
async def cpu_info(self):
415-
416415
"""
417416
CPU info doesn't change after boot so cache the results
418417
"""

0 commit comments

Comments
 (0)