Commits

Jelmer Vernooij committed d20f41f

Return an empty dictionary rather than None when there are no revision properties.

Comments (0)

Files changed (2)

   * Fix compilation using Visual C++. 
     (Ronald Blaschke, #612056)
 
+  * Return an empty dictionary rather than None 
+    when there are no revision properties.
+	(Jelmer Vernooij)
+
 0.7.3.1    2010-07-27
 
  BUG FIXES
 	apr_pool_t *pool;
 	PyObject *py_props;
 	if (props == NULL) {
-		Py_RETURN_NONE;
+		return PyDict_New();
 	}
 	pool = Pool(NULL);
 	if (pool == NULL)