Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master-1, master-0, and 0.9.4

Fix unnecessary incref of Py_False.

Changeset 3cd646b2bf17

Parent 55ea298e8f75

by Jelmer Vernooij

Changes to one file · Browse files at 3cd646b2bf17 Showing diff from parent 55ea298e8f75 Diff from another changeset...

 
260
261
262
 
263
264
265
 
268
269
270
271
272
273
274
 
260
261
262
263
264
265
266
 
269
270
271
 
272
273
274
@@ -260,6 +260,7 @@
    if (mode == Py_None) {   result = Py_False; + Py_INCREF(result);   } else {   lmode = PyInt_AsLong(mode);   if (lmode == -1 && PyErr_Occurred()) { @@ -268,7 +269,6 @@
  }   result = PyBool_FromLong(S_ISDIR((mode_t)lmode));   } - Py_INCREF(result);   Py_DECREF(mode);   return result;  }