diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-04-30 09:55:33 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-04-30 09:55:33 -0400 |
commit | 9d51e60509f5f55c3bfc1e4d35f7186b913d59c8 (patch) | |
tree | 7aa74ce4352c7082d9537723616bd104772d7f18 /ipsutils/config.py | |
parent | 72684195c620c4a7f220f9b403db01c815d2292f (diff) | |
download | ipsutils-9d51e60509f5f55c3bfc1e4d35f7186b913d59c8.tar.gz |
*Add "repackage" keyword to implement name changing
*Do not parse blank lines
Diffstat (limited to 'ipsutils/config.py')
-rw-r--r-- | ipsutils/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipsutils/config.py b/ipsutils/config.py index fe9adca..1b9963f 100644 --- a/ipsutils/config.py +++ b/ipsutils/config.py @@ -20,6 +20,7 @@ class Config(object): super(Config, self).__init__() key_dict = { 'name': '', + 'repackage': '', 'version': '', 'release': '', 'maintainer': '', @@ -57,6 +58,8 @@ class Config(object): for section in code_section: for line in file(ipsfile).readlines(): + if not line: + continue if line.startswith('#'): continue parts = shlex.split(line) |