[Reproducible-commits] [notes] 01/04: Stub bin/filter-packages
Chris Lamb
lamby at moszumanska.debian.org
Sat Feb 7 19:05:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository notes.
commit 0e09a6b34210f3516138ac5393f822b068f73fe0
Author: Chris Lamb <lamby at debian.org>
Date: Sat Feb 7 18:41:42 2015 +0000
Stub bin/filter-packages
---
bin/filter-packages | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/bin/filter-packages b/bin/filter-packages
new file mode 100755
index 0000000..7501244
--- /dev/null
+++ b/bin/filter-packages
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+import sys
+import yaml
+import optparse
+
+def main():
+ parser = optparse.OptionParser()
+ options, args = parser.parse_args()
+
+ if args:
+ parser.error("command does not take any arguments")
+
+ packages = yaml.safe_load(open('./packages.yml'))
+
+ for x, y in sorted(packages.iteritems()):
+ print x
+
+ return 0
+
+if __name__ == '__main__':
+ sys.exit(main())
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/notes.git
More information about the Reproducible-commits
mailing list