summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/use_desc_gen')
-rw-r--r--scripts/use_desc_gen38
1 files changed, 0 insertions, 38 deletions
diff --git a/scripts/use_desc_gen b/scripts/use_desc_gen
deleted file mode 100644
index f1c6b8f29..000000000
--- a/scripts/use_desc_gen
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env python
-# Written by Alec Warner <antarus@gentoo.org>
-# This code is hereby placed in the public domain.
-
-"""A simple driver file for use_desc_gen."""
-
-import logging
-import optparse
-import use_desc_gen
-
-
-def GetOpts():
- """Simple Option Parsing."""
-
- parser = optparse.OptionParser()
- parser.add_option('-r', '--repo_path', help=('path to repository from '
- 'which the documentation will be generated.'))
- parser.add_option('-c', '--category_file', help=('path to a category',
- 'file if repo_path lacks a profile/category file'))
-
- opts, unused_args = parser.parse_args()
-
- if not opts.repo_path:
- parser.error('--repo_path is a required option')
-
- logging.debug('REPO_PATH is %s' % opts.repo_path)
-
- return (opts, unused_args)
-
-
-def Main():
- """Main."""
- opts, unused_args = GetOpts()
- use_desc_gen.FindMetadataFiles(opts.repo_path, opts.category_file)
-
-
-if __name__ == '__main__':
- Main()