Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fg-errbot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRC Team
Errbot Development
fg-errbot
Commits
52c9c69e
Commit
52c9c69e
authored
7 years ago
by
Bruce Cowan
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make factoid list return a single line
Fixes #12
parent
76b853dc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bot/plugins/Factoid/factoid.py
+1
-2
1 addition, 2 deletions
bot/plugins/Factoid/factoid.py
with
1 addition
and
2 deletions
bot/plugins/Factoid/factoid.py
+
1
−
2
View file @
52c9c69e
...
...
@@ -44,8 +44,7 @@ class Factoid(BotPlugin):
if
not
self
.
factoids
:
yield
"
There are no factoids
"
for
name
in
sorted
(
self
.
factoids
.
keys
()):
yield
name
yield
'
,
'
.
join
(
sorted
(
self
.
factoids
))
@botcmd
def
factoid_random
(
self
,
message
,
args
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment