Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
og-rek
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
og-rek
Commits
5be541db
Commit
5be541db
authored
Jun 23, 2015
by
liaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the loop and undo the comment changes
parent
df956f06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
ogórek.go
ogórek.go
+3
-5
No files found.
ogórek.go
View file @
5be541db
// Package
gopickle
is a library for decoding Python's pickle format.
// Package
ogórek
is a library for decoding Python's pickle format.
//
//
//
gopickle
is Polish for "pickle".
//
ogórek
is Polish for "pickle".
package
ogórek
package
ogórek
import
(
import
(
...
@@ -247,9 +247,7 @@ func (d *Decoder) readLine() ([]byte, error) {
...
@@ -247,9 +247,7 @@ func (d *Decoder) readLine() ([]byte, error) {
return
line
,
err
return
line
,
err
}
}
has_more
=
is_prefix
has_more
=
is_prefix
for
i
:=
0
;
i
<
len
(
read_data
);
i
++
{
line
=
append
(
line
,
read_data
...
)
line
=
append
(
line
,
read_data
[
i
])
}
}
}
return
line
,
nil
return
line
,
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment