We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 753b83d commit 939e496Copy full SHA for 939e496
docklib/docklib.py
@@ -235,12 +235,12 @@ def replaceDockEntry(
235
if found_index > -1:
236
self.items[section][found_index] = newitem
237
238
- def makeDockAppSpacer(self, type="spacer-tile"):
+ def makeDockAppSpacer(self, tile_type="spacer-tile"):
239
"""Makes an empty space in the Dock."""
240
- if type not in ["spacer-tile", "small-spacer-tile"]:
241
- msg = f"{type}: invalid makeDockAppSpacer type."
+ if tile_type not in ["spacer-tile", "small-spacer-tile"]:
+ msg = f"{tile_type}: invalid makeDockAppSpacer type."
242
raise ValueError(msg)
243
- result = {"tile-data": {}, "tile-type": type}
+ result = {"tile-data": {}, "tile-type": tile_type}
244
245
return result
246
0 commit comments