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
2d9aceca
Commit
2d9aceca
authored
4 years ago
by
Eric S. Raymond
Browse files
Options
Downloads
Patches
Plain Diff
Address Gitlab issue #10: Bring back irk pretty formatting.
parent
637f478d
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
irk
+2
-2
2 additions, 2 deletions
irk
with
2 additions
and
2 deletions
irk
+
2
−
2
View file @
2d9aceca
...
@@ -42,8 +42,8 @@ def main():
...
@@ -42,8 +42,8 @@ def main():
sys
.
exit
(
1
)
sys
.
exit
(
1
)
target
=
sys
.
argv
[
1
]
target
=
sys
.
argv
[
1
]
message
=
"
"
.
join
(
sys
.
argv
[
2
:])
message
=
"
"
.
join
(
sys
.
argv
[
2
:])
#
XXX: why is this nec
essa
ry?
#
Allows pretty formatting of irker m
essa
ges
#
message = message.decode('string_escape')
message
=
message
.
decode
(
'
string_escape
'
)
try
:
try
:
irk
(
target
,
message
)
irk
(
target
,
message
)
...
...
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