jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[cleanup] cleanup scripts/cosmetic_changes.py

- remove preleading "u" from strings
- use single quotes for string literals

Change-Id: Ie822d39a39b0dc142df20c5ba119b0c5bdfff2d1
---
M scripts/cosmetic_changes.py
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/cosmetic_changes.py b/scripts/cosmetic_changes.py
index 80fe07c..e938806 100644
--- a/scripts/cosmetic_changes.py
+++ b/scripts/cosmetic_changes.py
@@ -59,7 +59,7 @@
"""Initializer."""
self.availableOptions.update({
'async': False,
- 'summary': u'Robot: Cosmetic changes',
+ 'summary': 'Robot: Cosmetic changes',
'ignore': cosmetic_changes.CANCEL_ALL,
})
super(CosmeticChangesBot, self).__init__(**kwargs)
@@ -134,5 +134,5 @@
return False


-if __name__ == "__main__":
+if __name__ == '__main__':
main()

To view, visit change 462745. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie822d39a39b0dc142df20c5ba119b0c5bdfff2d1
Gerrit-Change-Number: 462745
Gerrit-PatchSet: 1
Gerrit-Owner: D3r1ck01 <alangiderick@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)