diff options
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 + ':' |