summaryrefslogtreecommitdiffstats
path: root/gd_diff.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2016-11-13 19:13:56 +0000
committerrsiddharth <s@ricketyspace.net>2016-11-13 19:13:56 +0000
commitf0a75c4b3a5bf21146e28be6391786fe4478450a (patch)
treeef459c29aaa5f27b76998c6d57d6236454f16f5c /gd_diff.py
parentfca51ac7858705dbf11b3900d40b40bbe7145aba (diff)
Update `mk_pkgs_list` function.
Now returns the path to the file that contains the list of packages. * gd_diff.py (mk_pkgs_list): New function. * tests/test_gd_diff.py (test_mk_pkgs_list): Update test.
Diffstat (limited to 'gd_diff.py')
-rw-r--r--gd_diff.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gd_diff.py b/gd_diff.py
index d25415b..f683a24 100644
--- a/gd_diff.py
+++ b/gd_diff.py
@@ -265,6 +265,7 @@ def mk_pkgs_list(release):
pkgs_file = os.path.join(pkgs_dir(), release)
write_file(pkgs_file, pkgs)
+ return pkgs_file
def readmes_dir(release):
"""Return readmes directory for `release`.