Skip to content

Commit 7054b06

Browse files
committed
Add newlines
1 parent 7950e52 commit 7054b06

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

cloudbot/hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,4 +298,4 @@ def _on_start_hook(func):
298298

299299

300300
# this is temporary, to ease transition
301-
onload = on_start
301+
onload = on_start

cloudbot/util/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ def _convert(string):
183183
elif formatting in IRC_FORMATTING_DICT:
184184
ret += get_format(formatting)
185185

186-
return ret.strip()
186+
return ret.strip()

cloudbot/util/dictionaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ def __getitem__(self, k): # real signature unknown; restored from __doc__
4040

4141
def __setitem__(self, k, v): # real signature unknown
4242
""" Set self[key] to value. """
43-
return super().__setitem__(k.lower() if k is not None else k, v)
43+
return super().__setitem__(k.lower() if k is not None else k, v)

cloudbot/util/test/test_timeformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def test_timeuntil():
3535
# basic
3636
assert timeuntil(future, now) == "1 month and 2 days"
3737
# count
38-
assert timeuntil(future, now, count=3) == "1 month, 2 days and 13 hours"
38+
assert timeuntil(future, now, count=3) == "1 month, 2 days and 13 hours"

cloudbot/util/timeformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ def format_time(seconds, count=3, accuracy=6, simple=False):
125125
if simple:
126126
return " ".join(strings)
127127
else:
128-
return formatting.get_text_list(strings, "and")
128+
return formatting.get_text_list(strings, "and")

plugins/core_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ def on_join(conn, chan, target):
9090
:type nick: str
9191
"""
9292
if target == conn.nick:
93-
bot_joined_channel(conn, chan)
93+
bot_joined_channel(conn, chan)

plugins/ignore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ def global_unignore(text, db, conn, notice):
144144
notice("{} is not globally ignored.".format(target))
145145
else:
146146
notice("{} has been globally un-ignored.".format(target))
147-
remove_ignore(db, conn.name, "*", target)
147+
remove_ignore(db, conn.name, "*", target)

plugins/lastfm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ def lastfmcompare(text, bot):
125125
artist_string = "\x02In Common:\x02 " + ", ".join(artists) if artists else ""
126126

127127
return "Musical compatibility between \x02{}\x02 and \x02{}\x02: {} (\x02{}%\x02)".format(user1, user2, level,
128-
score), artist_string
128+
score), artist_string

plugins/twitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ def twuser(text):
174174

175175
return "{}@\x02{}\x02 ({}){} has \x02{:,}\x02 tweets and \x02{:,}\x02 followers.{}" \
176176
"".format(prefix, user.screen_name, user.name, loc_str, user.statuses_count, user.followers_count,
177-
desc_str)
177+
desc_str)

0 commit comments

Comments
 (0)