summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 20:41:01 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 20:41:01 -0400
commit78fe7c0b9af2d7f1cbf78e1dda9e9ac691631b1f (patch)
tree65b16ba74ee859fed4a2e272e63d75ba69822bf6
parent502888442873ec8f29064cf8ab8490fa3a93b8ed (diff)
downloadrpmbuild-remote-78fe7c0b9af2d7f1cbf78e1dda9e9ac691631b1f.tar.gz
rpmbuild-remote-78fe7c0b9af2d7f1cbf78e1dda9e9ac691631b1f.tar.xz
rpmbuild-remote-78fe7c0b9af2d7f1cbf78e1dda9e9ac691631b1f.zip
Values to be read from the configuration
-rw-r--r--rpmbuild-remote.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index bd5a90a..4810e38 100644
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -80,6 +80,13 @@ def read_section(config, section, values):
return ret
def read_preferences(options):
+ values = (
+ ('user', 'str'),
+ ('ssh_key', 'str'),
+ ('pass', 'str'),
+ ('host', 'str'),
+ ('port', 'int'),
+ )
system = {}
return system