parent
93514ae149
commit
f598a7fd41
|
@ -33,7 +33,7 @@ def replace_variable(apkbuild, value: str) -> str:
|
||||||
apkbuild[match.group(1)]))
|
apkbuild[match.group(1)]))
|
||||||
value = value.replace(match.group(0), apkbuild[match.group(1)], 1)
|
value = value.replace(match.group(0), apkbuild[match.group(1)], 1)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug("{}: key '{}' for replacing '{}' not found, ignoring"
|
logging.verbose("{}: key '{}' for replacing '{}' not found, ignoring"
|
||||||
"".format(apkbuild["pkgname"], match.group(1),
|
"".format(apkbuild["pkgname"], match.group(1),
|
||||||
match.group(0)))
|
match.group(0)))
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ def replace_variable(apkbuild, value: str) -> str:
|
||||||
newvalue))
|
newvalue))
|
||||||
value = value.replace(match.group(0), newvalue, 1)
|
value = value.replace(match.group(0), newvalue, 1)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug("{}: key '{}' for replacing '{}' not found, ignoring"
|
logging.verbose("{}: key '{}' for replacing '{}' not found, ignoring"
|
||||||
"".format(apkbuild["pkgname"], match.group(1),
|
"".format(apkbuild["pkgname"], match.group(1),
|
||||||
match.group(0)))
|
match.group(0)))
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ def replace_variable(apkbuild, value: str) -> str:
|
||||||
apkbuild["pkgname"], match.group(0), newvalue))
|
apkbuild["pkgname"], match.group(0), newvalue))
|
||||||
value = value.replace(match.group(0), newvalue, 1)
|
value = value.replace(match.group(0), newvalue, 1)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug("{}: key '{}' for replacing '{}' not found, ignoring"
|
logging.verbose("{}: key '{}' for replacing '{}' not found, ignoring"
|
||||||
"".format(apkbuild["pkgname"], match.group(1),
|
"".format(apkbuild["pkgname"], match.group(1),
|
||||||
match.group(0)))
|
match.group(0)))
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ def replace_variable(apkbuild, value: str) -> str:
|
||||||
apkbuild["pkgname"], match.group(0), newvalue))
|
apkbuild["pkgname"], match.group(0), newvalue))
|
||||||
value = value.replace(match.group(0), newvalue, 1)
|
value = value.replace(match.group(0), newvalue, 1)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.debug("{}: key '{}' for replacing '{}' not found, ignoring"
|
logging.verbose("{}: key '{}' for replacing '{}' not found, ignoring"
|
||||||
"".format(apkbuild["pkgname"], match.group(1),
|
"".format(apkbuild["pkgname"], match.group(1),
|
||||||
match.group(0)))
|
match.group(0)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue