Skip to content

Commit 53ed488

Browse files
committed
Rm dead code and print
1 parent 21abcfa commit 53ed488

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

pyqgis_resource_browser/core/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,3 @@ def scanResources(path: str = ":") -> Generator[str, None, None]:
1313
yield from scanResources(path=entry)
1414
elif D.fileInfo().isFile():
1515
yield D.filePath()
16-
17-
18-
def printResources():
19-
"""
20-
Prints all available resources in the Qt Resource System
21-
"""
22-
print("Available resources:")
23-
res = sorted(list(scanResources()))
24-
for r in res:
25-
print(r)

pyqgis_resource_browser/toolbelt/preferences.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def set_value_from_key(cls, key: str, value) -> bool:
132132
:return: operation status
133133
:rtype: bool
134134
"""
135-
print(key)
136135
if key not in PlgOptionsManager.setting_keys:
137136
log_hdlr.PlgLogger.log(
138137
message=f"Bad settings key: {key}. Must be one of: "

0 commit comments

Comments
 (0)