Skip to content

Commit 2ed4b0a

Browse files
Avishkar BhoopchandAvishkar Bhoopchand
authored andcommitted
Updated data file to Python3 format
1 parent c264aea commit 2ed4b0a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

data/cloned_repos.dat

-126 KB
Binary file not shown.

github-scraper/scraper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import getopt
88
import sys
99

10-
1110
def login_github(githubUser):
1211
password = getpass('GitHub password for {0}: '.format(githubUser))
1312
g = login(githubUser, password)
@@ -56,7 +55,7 @@ def recreate(repos, outputDirectory):
5655
def create_repos(dbFile):
5756
repos = []
5857
if os.path.exists(dbFile):
59-
infile = open(dbFile)
58+
infile = open(dbFile, "rb")
6059
repos = pickle.load(infile)
6160
infile.close()
6261
return repos

0 commit comments

Comments
 (0)