summaryrefslogtreecommitdiffstats
path: root/examples/empty_class.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2013-04-07 17:11:43 +0200
committerUltrabug <ultrabug@gentoo.org>2013-04-07 17:11:43 +0200
commit1d0df93fda422538118984e801553d074d976117 (patch)
tree918b0c2393cbf77764c15319823d8e64d0558f44 /examples/empty_class.py
parent2b220ab5b0427212da6d00a7e52386265a10e736 (diff)
PEP8 identation and python3 compatible examples
Diffstat (limited to 'examples/empty_class.py')
-rw-r--r--examples/empty_class.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/examples/empty_class.py b/examples/empty_class.py
index fefc442..4d74e55 100644
--- a/examples/empty_class.py
+++ b/examples/empty_class.py
@@ -1,13 +1,13 @@
class Py3status:
- """
- Empty and basic py3status class
- """
- def empty(self, json, i3status_config):
- """
- This method will return an empty text message, so it will NOT be displayed.
- If you want something displayed you should write something in the 'full_text' key of your response.
- See the i3bar protocol spec for more information:
- http://i3wm.org/docs/i3bar-protocol.html
- """
- response = {'full_text' : '', 'name' : 'empty'}
- return (0, response)
+ """
+ Empty and basic py3status class
+ """
+ def empty(self, json, i3status_config):
+ """
+ This method will return an empty text message, so it will NOT be displayed.
+ If you want something displayed you should write something in the 'full_text' key of your response.
+ See the i3bar protocol spec for more information:
+ http://i3wm.org/docs/i3bar-protocol.html
+ """
+ response = {'full_text' : '', 'name' : 'empty'}
+ return (0, response)