summaryrefslogtreecommitdiffstats
path: root/rpmci/spec.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-03 16:56:42 -0400
committerColin Walters <walters@verbum.org>2010-10-03 16:56:42 -0400
commitaa471079451dc5f54c36ff341830e66bc36f1a97 (patch)
treec76e34538304c65ee66064f3dfe6ac02e329ed2b /rpmci/spec.py
parentdb8df4a040883b631ff3c719c453246df9085776 (diff)
downloadrpmci-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.py2
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 + ':'