klippy: remove a few unused variable assignments (#6504)

Signed-off-by: Kamil Domański <kamil@domanski.co>
This commit is contained in:
Kamil Domański 2024-04-05 23:43:43 +02:00 committed by GitHub
parent b029d04668
commit 01c7befacb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 1 additions and 9 deletions

View file

@ -191,7 +191,6 @@ class PrinterConfig:
comment_r = re.compile('[#;].*$')
value_r = re.compile('[^A-Za-z0-9_].*$')
def _strip_duplicates(self, data, config):
fileconfig = config.fileconfig
# Comment out fields in 'data' that are defined in 'config'
lines = data.split('\n')
section = None