diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 20:39:32 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 20:39:32 -0400 |
commit | 56222c0a811cfc81895cfaf4ec80b1cd8e7815f8 (patch) | |
tree | f4dd7886eda5194d9dc14d5f141355b83f05114f | |
parent | 481ea803a7442e416769c07dbb3ac35b8d65fd7c (diff) | |
download | rpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.tar.gz rpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.tar.xz rpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.zip |
Add preference reader function
-rw-r--r-- | rpmbuild-remote.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index 5167601..6247e03 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -59,6 +59,10 @@ def get_parser(): "[Default: No mock builds (uses rpmbuild --rebuild otherwise)]") return parser +def read_preferences(options): + system = {} + return system + def main(): parser = get_parser() opts, args = parser.parse_args() @@ -77,6 +81,7 @@ def main(): LOG.error("Source file given without spec file.") sys.exit(1) jobs[-1].append(arg) + system = read_preferences(opts) if __name__ == '__main__': main() |