Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irker
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iDB
irker
Commits
a750ffd4
Commit
a750ffd4
authored
12 years ago
by
Eric S. Raymond
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic fix.
parent
824c767e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
irker.py
+2
-1
2 additions, 1 deletion
irker.py
with
2 additions
and
1 deletion
irker.py
+
2
−
1
View file @
a750ffd4
...
...
@@ -12,6 +12,7 @@ join/leave traffic.
Requires Python 2.6.
TO-DO: some servers have a limit of 20 channels per server connection.
TO-DO: Register the port?
"""
import
os
,
sys
,
json
,
irclib
,
exceptions
,
getopt
,
urlparse
import
threading
,
Queue
,
SocketServer
...
...
@@ -54,7 +55,7 @@ class Session():
self
.
queue
.
task_done
()
def
name
(
self
):
"
Generate a unique name for this session.
"
return
"
irker
"
+
str
(
Session
.
count
)
return
"
irker
%03d
"
%
Session
.
count
def
await
(
self
):
"
Block until processing of all queued messages is done.
"
self
.
queue
.
join
()
...
...
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