This file is indexed.

/usr/share/doc/python-jabber/patches/unused/JacobLundqvist/getsetList_v0.3.1.diff is in python-jabber 0.5.0-1.6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- diffed/timeout	2003-01-12 22:14:14.000000000 +0100
+++ jabber.py	2003-01-12 22:12:28.000000000 +0100
@@ -1142,25 +1142,39 @@
         err.putAttr('code',str(code))
 
 
-    def getQuery(self):
-        "returns the query namespace"
-        try: return self._node.getTag('query').namespace
+    def _getTag(self,tag):
+        try: return self._node.getTag(tag).namespace
         except: return None
 
-
-    def setQuery(self,namespace):
-        """Sets a query's namespace, and inserts a query tag if
-           one doesn't already exist.  The resulting query tag
-           is returned as the function result."""
-        q = self._node.getTag('query')
+    def _setTag(self,tag,namespace):
+        q = self._node.getTag(tag)
         if q:
             q.namespace = namespace
         else:
-            q = self._node.insertTag('query')
+            q = self._node.insertTag(tag)
             q.setNamespace(namespace)
         return q
 
 
+    def getList(self):
+        "returns the list namespace"
+        return self._getTag('list')
+
+    def setList(self,namespace):
+        return self._setTag('list',namespace)
+
+
+    def getQuery(self):
+        "returns the query namespace"
+        return self._getTag('query')
+
+    def setQuery(self,namespace):
+        """Sets a query's namespace, and inserts a query tag if
+           one doesn't already exist.  The resulting query tag
+           is returned as the function result."""
+        return self._setTag('query',namespace)
+
+
     def setQueryPayload(self, payload):
         """Sets a Iq's query payload.  'payload' can be either a Node
            structure or a valid xml document. The query tag is automatically