diff options
author | Colin Walters <walters@verbum.org> | 2010-10-03 16:56:42 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-10-03 16:56:42 -0400 |
commit | aa471079451dc5f54c36ff341830e66bc36f1a97 (patch) | |
tree | c76e34538304c65ee66064f3dfe6ac02e329ed2b /rpmci/spec.py | |
parent | db8df4a040883b631ff3c719c453246df9085776 (diff) | |
download | rpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.tar.gz rpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.tar.xz rpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.zip |
Add rpmci-update-config, other bits
Diffstat (limited to 'rpmci/spec.py')
-rw-r--r-- | rpmci/spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmci/spec.py b/rpmci/spec.py index 40ef6af..aa804d8 100644 --- a/rpmci/spec.py +++ b/rpmci/spec.py @@ -242,7 +242,7 @@ the 42 with new_value, preserving the comment # foo.""" for line in self._lines: if line.startswith('#VCS:'): return line[5:].strip() - raise ValueError("No such key #VCS in file %r" % (self._filename, )) + return self.get_key('VCS') def get_key(self, key): key = key + ':' |