diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:58:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:58:44 +0000 |
commit | b2777729d41663603a6cf8809ca5f310dba78a27 (patch) | |
tree | bbfcd9964266c0045bd773f5bc1b3fe3840876ff /python39.patch | |
parent | b405f794165dc23efd7534a50060a69d3eb29c8b (diff) |
automatic import of babeltraceopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'python39.patch')
-rw-r--r-- | python39.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/python39.patch b/python39.patch new file mode 100644 index 0000000..4a24bee --- /dev/null +++ b/python39.patch @@ -0,0 +1,19 @@ +diff --git a/bindings/python/babeltrace/babeltrace.i.in b/bindings/python/babeltrace/babeltrace.i.in +index a773e9b3..b3bb53a0 100644 +--- a/bindings/python/babeltrace/babeltrace.i.in ++++ b/bindings/python/babeltrace/babeltrace.i.in +@@ -672,8 +672,8 @@ class CTFScope: + _scopes = [CTFScope.EVENT_FIELDS, CTFScope.EVENT_CONTEXT, CTFScope.STREAM_EVENT_CONTEXT, + CTFScope.STREAM_EVENT_HEADER, CTFScope.STREAM_PACKET_CONTEXT, CTFScope.TRACE_PACKET_HEADER] + +-import collections +-class Event(collections.Mapping): ++import collections.abc ++class Event(collections.abc.Mapping): + """ + This class represents an event from the trace. + It is obtained using the TraceCollection generator functions. +-- +2.17.1 + + |