invirt.config.run_parts_list: fix unclear docstring
[invirt/packages/invirt-base.git] / python / invirt / config.py
index 86d9c8a..e4aad28 100644 (file)
@@ -38,7 +38,8 @@ def run_parts_list(dirname):
     """Reimplements Debian's run-parts --list.
 
     One difference from run-parts's behavior: run-parts --list /foo/
     """Reimplements Debian's run-parts --list.
 
     One difference from run-parts's behavior: run-parts --list /foo/
-    will give output like /foo//bar, because Python code tends to expect this.
+    will give output like /foo//bar, but run_parts_list('/foo/') gives
+    /foo/bar in deference to Python conventions.
 
     Matches documented behavior of run-parts in debianutils v2.28.2, dated 2007.
     """
 
     Matches documented behavior of run-parts in debianutils v2.28.2, dated 2007.
     """