diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2015-04-07 20:53:14 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2015-04-08 19:56:21 +0200 |
commit | 9b34a9385092d6540a55fa104f88feba27cf4aa9 (patch) | |
tree | ee6ae2645b4867a8517725403b3b868c568203f5 /defaults.py.in | |
parent | 0f286858ec1da08effaadb36ec2a2f33614fb8be (diff) | |
download | clufter-9b34a9385092d6540a55fa104f88feba27cf4aa9.tar.gz clufter-9b34a9385092d6540a55fa104f88feba27cf4aa9.tar.xz clufter-9b34a9385092d6540a55fa104f88feba27cf4aa9.zip |
defaults: prevents premature ''' lex. match in value
(currently this breaks Travis CI testrun)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'defaults.py.in')
-rw-r--r-- | defaults.py.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/defaults.py.in b/defaults.py.in index 7396ab2..b458199 100644 --- a/defaults.py.in +++ b/defaults.py.in @@ -1,12 +1,14 @@ # -*- coding: UTF-8 -*- -# Copyright 2014 Red Hat, Inc. +# Copyright 2015 Red Hat, Inc. # Part of clufter project # Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt) """Some usage-agnostic constants""" __author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>" -EDITOR = '''@EDITOR@''' -CCS_FLATTEN = '''@CCS_FLATTEN@''' +# trailing bang subsequently removed, prevents premature ''' lex. match in value + +EDITOR = '''@EDITOR@!'''[:-1] +CCS_FLATTEN = '''@CCS_FLATTEN@!'''[:-1] # also configurable via respective env. variables (see getenv_namespaced) -HASHALGO = '''@HASHALGO@''' # not for security +HASHALGO = '''@HASHALGO@!'''[:-1] # not for security |