mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-17 08:47:55 -07:00
Cover GDM module with tests, added FilesLabelerFactory, renamed GdmBuilder
This commit is contained in:
@@ -10,10 +10,10 @@ def remove_properties(file, *args):
|
||||
with open(file, "r") as read_file:
|
||||
content = read_file.read()
|
||||
|
||||
for line in content.splitlines():
|
||||
for i, line in enumerate(content.splitlines()):
|
||||
if not any(prop in line for prop in args):
|
||||
new_content += line + "\n"
|
||||
elif "}" in line:
|
||||
elif "}" in line and not "{" in line:
|
||||
new_content += "}\n"
|
||||
|
||||
with open(file, "w") as write_file:
|
||||
|
Reference in New Issue
Block a user