1
0
Fork 0
tuned/tuned
Jaroslav Škarvada bb2fe7440d
variables: fixed parsing of function parameters containing undefined variables
Fixed parsing of e.g.:
${f🅰️${var1}:${var2}}

If var1 wasn't defined it was incorrectly parsed as:
f🅰️${var1

I.e. it resulted in invalid number of parameters error, as the
called function was missing the second parameter.

Now with bot variables undefined it parses as:
f🅰️${var1}:${var2}

I.e. it resulted in correct number of parameters even with
undefined variables.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-03-30 14:56:44 +02:00
..
admin Remove an unreachable return statement 2017-02-13 16:08:11 +01:00
daemon Log errors when applying a profile fails 2017-03-27 10:38:46 +02:00
exports Raise NotImplementedError instead of NotImplemented 2017-02-13 16:28:33 +01:00
gtk Implement udev-based device matching 2017-02-28 17:39:07 +01:00
hardware Implement udev-based device matching 2017-02-28 17:39:07 +01:00
monitors monitors: allow to retrieve load just for one device 2013-01-24 16:53:51 +01:00
plugins disk: Delay a spindown change instead of suppressing it 2017-03-28 17:06:55 +02:00
profiles variables: fixed parsing of function parameters containing undefined variables 2017-03-30 14:56:44 +02:00
storage pickle_provider: consts moved to consts.py 2013-02-19 17:46:47 +01:00
units Introduce script_pre and script_post options 2017-03-13 10:51:52 +01:00
utils bootloader: added option initrd_remove_dir 2017-03-03 18:11:22 +01:00
__init__.py misc: bumped year in copyright to 2013 2013-11-27 09:30:07 +01:00
consts.py Introduce ${i:PROFILE_DIR} function, drop workdir option 2017-03-13 09:34:45 +01:00
exceptions.py Create exception logger outside of TunedException class to not confuse logs.get method 2012-01-26 10:41:59 +01:00
logs.py Fix logging to file in the current directory 2017-02-16 09:38:42 +01:00
patterns.py separate design pattern bases 2011-12-14 17:40:31 +01:00
version.py new release (2.7.1) 2016-08-02 14:35:19 +02:00