File: 0006-fix-python-3-12-syntaxerror.patch

package info (click to toggle)
androguard 3.4.0~a1-17~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 89,876 kB
  • sloc: python: 25,183; xml: 3,203; java: 1,849; makefile: 216; sh: 17
file content (13 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/androguard/core/bytecodes/apk.py
+++ b/androguard/core/bytecodes/apk.py
@@ -1036,8 +1036,8 @@
 
         This function uses a fallback for attribute searching. It will by default use
         the namespace variant but fall back to the non-namespace variant.
-        Thus specifiying :code:`{"name": "foobar"}` will match on :code:`<bla name="foobar" \>`
-        as well as on :code:`<bla android:name="foobar" \>`.
+        Thus specifiying :code:`{"name": "foobar"}` will match on :code:`<bla name="foobar">`
+        as well as on :code:`<bla android:name="foobar">`.
 
         :param lxml.etree.Element tag: specify the tag element
         :param attribute_filter: specify the attribute filter as dictionary