Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
migration_scripts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
serpucga
migration_scripts
Commits
a0751265
Commit
a0751265
authored
Jul 24, 2019
by
serpucga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: calculation of recovery index was being made combining the new and old…
Bugfix: calculation of recovery index was being made combining the new and old style of page indexing
parent
407daa4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pymongoexport_csv.py
pymongoexport_csv.py
+1
-1
No files found.
pymongoexport_csv.py
View file @
a0751265
...
@@ -53,7 +53,7 @@ if args.recovery:
...
@@ -53,7 +53,7 @@ if args.recovery:
client
=
pymongo
.
MongoClient
(
client
=
pymongo
.
MongoClient
(
recovery_data
[
"host"
],
recovery_data
[
"port"
])
recovery_data
[
"host"
],
recovery_data
[
"port"
])
database_tweets
=
client
[
recovery_data
[
"database"
]][
"tweets"
]
database_tweets
=
client
[
recovery_data
[
"database"
]][
"tweets"
]
full_page_index
=
utils
.
get_page_index
(
full_page_index
=
utils
.
get_page_index
_fast
(
database_tweets
,
recovery_data
[
"pagesize"
])
database_tweets
,
recovery_data
[
"pagesize"
])
client
.
close
()
client
.
close
()
page_index
=
[
page
for
page
in
full_page_index
page_index
=
[
page
for
page
in
full_page_index
...
...
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