summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 20:39:32 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 20:39:32 -0400
commit56222c0a811cfc81895cfaf4ec80b1cd8e7815f8 (patch)
treef4dd7886eda5194d9dc14d5f141355b83f05114f /rpmbuild-remote.py
parent481ea803a7442e416769c07dbb3ac35b8d65fd7c (diff)
downloadrpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.zip
rpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.tar.gz
rpmbuild-remote-56222c0a811cfc81895cfaf4ec80b1cd8e7815f8.tar.xz
Add preference reader function
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py5
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()